Expand description
Error types and traits which define what kind of errors combine parsers may emit
Structs§
- Format
- Newtype which constructs an Info::FormatthroughErrorInfo
- Range
- Newtype which constructs an Info::RangethroughErrorInfo
- Static
- Newtype which constructs an Info::StaticthroughErrorInfoA plain&'static strcan also be used, this exists for consistency.
- Token
- Newtype which constructs an Info::TokenthroughErrorInfo
- Tracked
- 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§
- Commit
- Enum used to indicate if a parser committed any items of the stream it was given as an input.
- Info
- ParseResult 
- A Resulttype which has the committed status flattened into the result. Conversions to and fromstd::result::Resultcan be done usingresult.into()orFrom::from(result)
- StringStream Error 
- UnexpectedParse 
Traits§
- ErrorInfo 
- Trait for types which can be used to construct error information.
- ParseError 
- Trait which defines a combine parse error.
- ParseError Into 
- Defines a conversion between two parse error types.
- StreamError 
- StreamErrorrepresents a single error returned from a- Streamor a- Parser.
- StreamError Into 
- Defines a conversion between two stream error types.
Type Aliases§
- StdParseResult 
- 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.Inputis the specific stream type used in the parser.
- StdParseResult2