[][src]Trait tokio_util::compat::FuturesAsyncReadCompatExt

pub trait FuturesAsyncReadCompatExt: AsyncRead {
    pub fn compat(self) -> Compat<Self>
    where
        Self: Sized
, { ... } }
This is supported on crate feature compat only.

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

Provided methods

pub fn compat(self) -> Compat<Self> where
    Self: Sized
[src]

Wraps self with a compatibility layer that implements tokio_io::AsyncRead.

Loading content...

Implementors

impl<T: AsyncRead> FuturesAsyncReadCompatExt for T[src]

Loading content...