Module tokio_util::compat
source · Expand description
Compatibility between the tokio::io
and futures-io
versions of the
AsyncRead
and AsyncWrite
traits.
Structs
- A compatibility layer that allows conversion between the
tokio::io
andfutures-io
AsyncRead
andAsyncWrite
traits.
Traits
- Extension trait that allows converting a type implementing
futures_io::AsyncRead
to implementtokio::io::AsyncRead
. - Extension trait that allows converting a type implementing
futures_io::AsyncWrite
to implementtokio::io::AsyncWrite
. - Extension trait that allows converting a type implementing
tokio::io::AsyncRead
to implementfutures_io::AsyncRead
. - Extension trait that allows converting a type implementing
tokio::io::AsyncWrite
to implementfutures_io::AsyncWrite
.