pub trait BufRead: Read {
    fn fill_buf(&mut self) -> Result<&[u8]>;
    fn consume(&mut self, amt: usize);
}
Expand description

A rough approximation of std::io::BufRead.

Required methods

Implementors