pub type NomResult<'a, T> = IResult<InputSpan<'a>, T, Error<'a>>;
Expand description
Parsing outcome generalized by the type returned on success.
Aliased Type§
pub enum NomResult<'a, T> {
Ok((LocatedSpan<&'a str>, T)),
Err(Err<SpannedError<&'a str>>),
}
Variants§
Ok((LocatedSpan<&'a str>, T))
Contains the success value
Err(Err<SpannedError<&'a str>>)
Contains the error value