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§
Ok((I, O))
Contains the success value
Err(Err<ParserError<C, I>>)
Contains the error value