ParsingResult

Type Alias ParsingResult 

Source
pub type ParsingResult<'a, T> = Result<T, ParsingError<'a>>;
Expand description

The result type returned by all the parsing functions in this crate.

Aliased Type§

pub enum ParsingResult<'a, T> {
    Ok(T),
    Err(ParsingError<'a>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParsingError<'a>)

Contains the error value