[][src]Module tokio_util::compat

This is supported on crate feature compat only.

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.

TokioAsyncReadCompatExt

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

TokioAsyncWriteCompatExt

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