Skip to main content

ParseResult

Type Alias ParseResult 

Source
type ParseResult<'a, T> = IResult<&'a str, T, Error<&'a str>>;

Aliased Type§

enum ParseResult<'a, T> {
    Ok((&'a str, T)),
    Err(Err<Error<&'a str>>),
}

Variants§

§1.0.0

Ok((&'a str, T))

Contains the success value

§1.0.0

Err(Err<Error<&'a str>>)

Contains the error value