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
Done | A value of type O has been produced | |
Error | An error of type E has been encountered | |
Continue | Continue applying, and pass a message of type M to the data source |