Module tokio_util::compat

source ·
Available on crate feature compat only.
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 and futures-io AsyncRead and AsyncWrite traits.

Traits§

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