Trait Input

Source
pub trait Input {
    // Required method
    fn read_byte(&mut self) -> Option<u8>;
}
Expand description

Types that can be used as input for the CNF parser.

Required Methods§

Source

fn read_byte(&mut self) -> Option<u8>

Reads a byte from the input if any is remaining.

Implementations on Foreign Types§

Source§

impl<'a> Input for &'a [u8]

Source§

fn read_byte(&mut self) -> Option<u8>

Implementors§

Source§

impl<R> Input for IoReader<R>
where R: Read,