Type Alias utils::parser::ParseResult
source · pub type ParseResult<'i, T> = Result<(T, &'i [u8]), (ParseError, &'i [u8])>;
Expand description
Result
type returned by Parser::parse
.
Aliased Type§
enum ParseResult<'i, T> {
Ok((T, &'i [u8])),
Err((ParseError, &'i [u8])),
}
Variants§
Ok((T, &'i [u8]))
Contains the success value
Err((ParseError, &'i [u8]))
Contains the error value