Trait await::io::ReadAsync [] [src]

pub trait ReadAsync {
    fn read_async(&mut self, buf: &mut [u8]) -> Box<AwaitBox<Result<usize>>>;
}

The ReadAsync trait allows for reading bytes from a source asynchronously.

Required Methods

fn read_async(&mut self, buf: &mut [u8]) -> Box<AwaitBox<Result<usize>>>

Implementors