Enum nom::ProducerState
[−]
[src]
pub enum ProducerState<O> { Eof(O), Continue, Data(O), ProducerError(u32), }
Holds the data producer's current state
Eof indicates all data has been parsed, and contains the parser's result
Continue indicates that more data is needed and should be available, but not right now. Parsing should resume at some point.
Data contains already parsed data
ProducerError indicates something went wrong
Variants
Eof | |
Continue | |
Data | |
ProducerError |