Trait nom::Producer
[−]
[src]
pub trait Producer { fn produce(&mut self) -> ProducerState<&[u8]>; fn seek(&mut self, position: SeekFrom) -> Option<u64>; }
A producer implements the produce method, currently working with u8 arrays
Required Methods
Implementors
impl Producer for FileProducer
impl<'x> Producer for MemProducer<'x>
impl<T: Read> Producer for ReadProducer<T>