Skip to main content

Result

Type Alias Result 

Source
pub type Result<T> = Result<T, TeaQLToolError>;
Expand description

A standard result type alias used throughout the TeaQL Tool ecosystem.

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(TeaQLToolError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TeaQLToolError)

Contains the error value