pub type IResult<'a, O> = IResult<Span<'a>, O, ParseError<'a>>;
Expand description

Redefine IResult, filling in the first generic type parameter with Span, for increased brevity.

Aliased Type§

enum IResult<'a, O> {
    Ok((LocatedSpan<&'a str>, O)),
    Err(Err<ParseError<'a>>),
}

Variants§

§1.0.0

Ok((LocatedSpan<&'a str>, O))

Contains the success value

§1.0.0

Err(Err<ParseError<'a>>)

Contains the error value