pub trait Input: Debug {
    fn fill_buf(&mut self) -> Result<()>;
    fn eof(&self) -> bool;
    fn consume(&mut self, amount: usize);
    fn buffer(&self) -> &[u8]Notable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8];
    fn is_empty(&self) -> bool;
    fn len(&self) -> usize;
}

Required Methods

Implementations on Foreign Types

Memory input

Implementors