Type Alias Result

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

A type alias for a std::result::Result that uses TeatimeError as the error type. We define this purely for convenience.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TeatimeError)

Contains the error value