[][src]Trait capnp::io::BufRead

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

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

Required methods

fn fill_buf(&mut self) -> Result<&[u8]>

fn consume(&mut self, amt: usize)

Loading content...

Implementors

impl<R> BufRead for R where
    R: BufRead
[src]

Loading content...