pub type ParseResult<'a, T> = Result<(usize, T, &'a str), ParseError>;Expand description
A helper for the result of parsing. Holds a tuple of the index of the found result, the type parsed as well as the remaining unparsed string
Aliased Type§
pub enum ParseResult<'a, T> {
Ok((usize, T, &'a str)),
Err(ParseError),
}Variants§
Ok((usize, T, &'a str))
Contains the success value
Err(ParseError)
Contains the error value