Type Alias IResult

Source
pub type IResult<T, O> = IResult<T, O, ErrorTree<T>>;
Expand description

Redeclaration that uses ErrorTree instead of the default nom::Error.

Aliased Type§

pub enum IResult<T, O> {
    Ok((T, O)),
    Err(Err<ErrorTree<T>>),
}

Variants§

§1.0.0

Ok((T, O))

Contains the success value

§1.0.0

Err(Err<ErrorTree<T>>)

Contains the error value