ParserResult

Type Alias ParserResult 

Source
pub type ParserResult<'i, T> = Result<(T, &'i [u8]), ErrToken>;
Expand description

Result type returned by Parser::parse_ctx.

Aliased Type§

pub enum ParserResult<'i, T> {
    Ok((T, &'i [u8])),
    Err(ErrToken),
}

Variants§

§1.0.0

Ok((T, &'i [u8]))

Contains the success value

§1.0.0

Err(ErrToken)

Contains the error value