charon_lib::name_matcher::parser

Type Alias ParseResult

source
type ParseResult<'a, T> = IResult<&'a str, T, ErrorTree<&'a str>>;

Aliased Type§

enum ParseResult<'a, T> {
    Ok((&'a str, T)),
    Err(Err<GenericErrorTree<&'a str, &'static str, &'static str, Box<dyn Error + Sync + Send>>>),
}

Variants§

§1.0.0

Ok((&'a str, T))

Contains the success value

§1.0.0

Err(Err<GenericErrorTree<&'a str, &'static str, &'static str, Box<dyn Error + Sync + Send>>>)

Contains the error value