Type Alias kparse::ParserResult

source ·
pub type ParserResult<C, I, O> = Result<(I, O), Err<ParserError<C, I>>>;
Expand description

ParserResult for ParserError. Equivalent to nom::IResult<(I, O), ParserError<C, I>>

Aliased Type§

enum ParserResult<C, I, O> {
    Ok((I, O)),
    Err(Err<ParserError<C, I>>),
}

Variants§

§1.0.0

Ok((I, O))

Contains the success value

§1.0.0

Err(Err<ParserError<C, I>>)

Contains the error value