pub type IResult<I, O, E = Error<I>> = Result<(I, O), ErrMode<E>>;
Expand description
Holds the result of Parser
Ok((I, O))
is the remaining input and the parsed valueErr(ErrMode<E>)
is the error along with how to respond to it
By default, the error type (E
) is Error
At the top-level of your parser, you can use the FinishIResult::finish
method to convert
it to a more common result type