Skip to main content

TokenResult

Type Alias TokenResult 

Source
pub type TokenResult = Result<Token, LexicalError>;

Aliased Type§

pub enum TokenResult {
    Ok(Token),
    Err(LexicalError),
}

Variants§

§1.0.0

Ok(Token)

Contains the success value

§1.0.0

Err(LexicalError)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.