Enum nom::ConsumerState [] [src]

pub enum ConsumerState<O, E = (), M = ()> {
    Done(M, O),

Stores a consumer's current computation state


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


impl<O: Clone, E: Copy, M: Copy> ConsumerState<O, E, M>

Trait Implementations

impl<O: Debug, E: Debug, M: Debug> Debug for ConsumerState<O, E, M>

Formats the value using the given formatter.

impl<O: Clone, E: Clone, M: Clone> Clone for ConsumerState<O, E, M>

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more