Expand description
Error types and traits which define what kind of errors combine parsers may emit
Structs
- Error wrapper which lets parsers track which parser in a sequence of sub-parsers has emitted the error.
Tracked::fromcan be used to construct this and it should otherwise be ignored outside of combine.
Enums
- Enum used to indicate if a parser consumed any items of the stream it was given as an input.
Traits
- Trait which defines a combine parse error.
StreamErrorrepresents a single error returned from aStreamor aParser.
Type Aliases
- A
Resulttype which has the consumed status flattened into the result. Conversions to and fromstd::result::Resultcan be done usingresult.into()orFrom::from(result) - A type alias over the specific
Resulttype used by parsers to indicate whether they were successful or not.Ois the type that is output on success.Iis the specific stream type used in the parser.