Type Alias SyntaxResult

Source
pub type SyntaxResult<T> = Result<T, SyntaxError>;

Aliased Type§

pub enum SyntaxResult<T> {
    Ok(T),
    Err(SyntaxError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SyntaxError)

Contains the error value