Module tokio_util::compat[][src]

Compatibility between the tokio::io and futures-io versions of the AsyncRead and AsyncWrite traits.

Structs

Compat

A compatibility layer that allows conversion between the tokio::io and futures-io AsyncRead and AsyncWrite traits.

Traits

FuturesAsyncReadCompatExt

Extension trait that allows converting a type implementing futures_io::AsyncRead to implement tokio::io::AsyncRead.

FuturesAsyncWriteCompatExt

Extension trait that allows converting a type implementing futures_io::AsyncWrite to implement tokio::io::AsyncWrite.

Tokio02AsyncReadCompatExt

Extension trait that allows converting a type implementing tokio::io::AsyncRead to implement futures_io::AsyncRead.

Tokio02AsyncWriteCompatExt

Extension trait that allows converting a type implementing tokio::io::AsyncWrite to implement futures_io::AsyncWrite.