Type Alias parser_compose::Res
source · pub type Res<In, Out> = Result<(Out, ParserContext<In>), ErrorTree>;
Expand description
The return value of this crate’s parsers
Aliased Type§
enum Res<In, Out> {
Ok((Out, ParserContext<In>)),
Err(ErrorTree),
}
Variants§
Ok((Out, ParserContext<In>))
Contains the success value
Err(ErrorTree)
Contains the error value