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

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]>[src]

fn consume(&mut self, amt: usize)[src]

Loading content...

Implementors

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

Loading content...