Res

Type Alias Res 

Source
pub type Res<I: Span, O> = IResult<I, O, ErrorTree<I>>;

Aliased Type§

pub enum Res<I: Span, O> {
    Ok((I, O)),
    Err(Err<ErrorTree<I>>),
}

Variants§

§1.0.0

Ok((I, O))

Contains the success value

§1.0.0

Err(Err<ErrorTree<I>>)

Contains the error value