Type Alias konst::parsing::ParserResult

source ·
pub type ParserResult<'a, E = ParseError<'a>> = Result<Parser<'a>, E>;
Available on crate feature parsing only.
Expand description

Result alias for functions that mutate the parser fallibly.

Aliased Type§

enum ParserResult<'a, E = ParseError<'a>> {
    Ok(Parser<'a>),
    Err(E),
}

Variants§

§1.0.0

Ok(Parser<'a>)

Contains the success value

§1.0.0

Err(E)

Contains the error value