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