Trait BufRead
capnp::io
pub trait BufRead: Read { fn fill_buf(&mut self) -> Result<&[u8]>; fn consume(&mut self, amt: usize); }
A rough approximation of std::io::BufRead.
fn fill_buf(&mut self) -> Result<&[u8]>
fn consume(&mut self, amt: usize)
impl<R> BufRead for R where R: BufRead,