pub trait Input: Debug {
    fn fill_buf(&mut self) -> Result<()>;
    fn eof(&self) -> bool;
    fn consume(&mut self, amount: usize);
    fn buffer(&self) -> &[u8] ;
    fn is_empty(&self) -> bool;
    fn len(&self) -> usize;
}

Required Methods§

Implementations on Foreign Types§

Memory input

Implementors§