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§

§1.0.0

Ok((Out, ParserContext<In>))

Contains the success value

§1.0.0

Err(ErrorTree)

Contains the error value