[][src]Trait tokio_util::compat::FuturesAsyncWriteCompatExt

pub trait FuturesAsyncWriteCompatExt: AsyncWrite {
    fn compat_write(self) -> Compat<Self>
    where
        Self: Sized
, { ... } }
This is supported on feature="compat" only.

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

Provided methods

fn compat_write(self) -> Compat<Self> where
    Self: Sized

This is supported on feature="compat" only.

Wraps self with a compatibility layer that implements tokio::io::AsyncWrite.

Loading content...

Implementors

impl<T: AsyncWrite> FuturesAsyncWriteCompatExt for T[src]

Loading content...