Type Alias LighthouseResult

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

Result type used throughout the lighthouse library

Aliased Type§

enum LighthouseResult<T> {
    Ok(T),
    Err(LighthouseError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LighthouseError)

Contains the error value