Enum nom::ConsumerState [] [src]

pub enum ConsumerState<O, E = (), M = ()> {
    Done(M, O),
    Error(E),
    Continue(M),
}
[]

Stores a consumer's current computation state

Variants

[]

A value of type O has been produced

[]

An error of type E has been encountered

[]

Continue applying, and pass a message of type M to the data source

Methods

impl<O: Clone, E: Copy, M: Copy> ConsumerState<O, E, M>
[src]

Trait Implementations

impl<O: Clone, E: Clone, M: Clone> Clone for ConsumerState<O, E, M>
[src]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl<O: Debug, E: Debug, M: Debug> Debug for ConsumerState<O, E, M>
[src]

[]

Formats the value using the given formatter.