[−][src]Trait nom::Consumer
The Consumer trait wraps a computation and its state
it depends on the input type I, the produced value's type O, the error type E, and the message type M
Required methods
fn handle(&mut self, input: Input<I>) -> &ConsumerState<O, E, M>
implement handle for the current computation, returning the new state of the consumer
fn state(&self) -> &ConsumerState<O, E, M>
returns the current state