Trait kernel::io::AsyncRead [−] [src]

pub trait AsyncRead {
    fn read_async(&self, buf: Vec<u8>) -> Promise<Result<Vec<u8>>>;
}

Allows for reading bytes asynchronously from a source.

Required Methods

fn read_async(&self, buf: Vec<u8>) -> Promise<Result<Vec<u8>>>

Implementors