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::ioandfutures-ioAsyncReadandAsyncWritetraits.
Traits
- Extension trait that allows converting a type implementing
futures_io::AsyncReadto implementtokio::io::AsyncRead. - Extension trait that allows converting a type implementing
futures_io::AsyncWriteto implementtokio::io::AsyncWrite. - Extension trait that allows converting a type implementing
tokio::io::AsyncReadto implementfutures_io::AsyncRead. - Extension trait that allows converting a type implementing
tokio::io::AsyncWriteto implementfutures_io::AsyncWrite.