pub type ParseResult<D> = Result<Success<D>, ParseError<D>>;
Aliased Type§
enum ParseResult<D> {
Ok(<D as ParserDefinition>::Success),
Err(ParseError<<D as ParserDefinition>::Location, <D as ParserDefinition>::Token, <D as ParserDefinition>::Error>),
}
Variants§
Ok(<D as ParserDefinition>::Success)
Contains the success value
Err(ParseError<<D as ParserDefinition>::Location, <D as ParserDefinition>::Token, <D as ParserDefinition>::Error>)
Contains the error value