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§

§1.0.0

Ok(<D as ParserDefinition>::Success)

Contains the success value

§1.0.0

Err(ParseError<<D as ParserDefinition>::Location, <D as ParserDefinition>::Token, <D as ParserDefinition>::Error>)

Contains the error value