rocket::fairing

Type Alias Result

Source
pub type Result<T = Rocket<Build>, E = Rocket<Build>> = Result<T, E>;
Expand description

A type alias for the return Result type of Fairing::on_ignite().

Aliased Type§

enum Result<T = Rocket<Build>, E = Rocket<Build>> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value