Type Alias Result

Source
pub type Result<T, C, E> = Result<T, ParseError<C, E>>;
Expand description

An alias to a Result where:

  • Ok is T.
  • Err is a ParseError with context C and error E

For a Result that is parameterized only by the input type, see input::Result.

Aliased Type§

enum Result<T, C, E> {
    Ok(T),
    Err(ParseError<C, E>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParseError<C, E>)

Contains the error value