pub type ParserResult<'a, O> = Result<(&'a str, O), Err<VerboseError<&'a str>>>;
Expand description

The nom-compatible parser return type.

Aliased Type§

enum ParserResult<'a, O> {
    Ok((&'a str, O)),
    Err(Err<VerboseError<&'a str>>),
}

Variants§

§1.0.0

Ok((&'a str, O))

Contains the success value

§1.0.0

Err(Err<VerboseError<&'a str>>)

Contains the error value