pub trait BufRead: Read {
    // Required methods
    fn fill_buf(&mut self) -> impl Future<Output = Result<&[u8]>> + Send;
    fn consume(&mut self, amt: usize);
}

Required Methods§

source

fn fill_buf(&mut self) -> impl Future<Output = Result<&[u8]>> + Send

source

fn consume(&mut self, amt: usize)

Object Safety§

This trait is not object safe.

Implementors§