Type Alias text_parsing::parser::ParserResult

source ·
pub type ParserResult<D> = Result<Option<Local<ParserEvent<D>>>, Error>;

Aliased Type§

enum ParserResult<D> {
    Ok(Option<Local<ParserEvent<D>>>),
    Err(Error),
}

Variants§

§1.0.0

Ok(Option<Local<ParserEvent<D>>>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value