Trait tokio_util::compat::FuturesAsyncWriteCompatExt [−][src]
Extension trait that allows converting a type implementing
futures_io::AsyncWrite
to implement tokio::io::AsyncWrite
.
Provided methods
fn compat_write(self) -> Compat<Self> where
Self: Sized,
[src][−]
Self: Sized,
Wraps self
with a compatibility layer that implements
tokio::io::AsyncWrite
.