[][src]Trait associated_async_io::AsyncWrite

pub trait AsyncWrite {
    type Fut: Future<Output = Result<usize>>;
    fn write(&mut self, buf: &[u8]) -> Self::Fut;
}

Async version of std::io::Write.

Associated Types

type Fut: Future<Output = Result<usize>>

The future returned by write.

Loading content...

Required methods

fn write(&mut self, buf: &[u8]) -> Self::Fut

Write data.

Loading content...

Implementors

Loading content...