cairo_lang_parser::parser

Type Alias TryParseResult

source
pub type TryParseResult<GreenElement> = Result<GreenElement, TryParseFailure>;
Expand description

The result of a try_parse_* functions.

Aliased Type§

enum TryParseResult<GreenElement> {
    Ok(GreenElement),
    Err(TryParseFailure),
}

Variants§

§1.0.0

Ok(GreenElement)

Contains the success value

§1.0.0

Err(TryParseFailure)

Contains the error value