Type Alias rocket::request::Outcome

source ·
pub type Outcome<S, E> = Outcome<S, (Status, E), ()>;
Expand description

Type alias for the Outcome of a FromRequest conversion.

Aliased Type§

enum Outcome<S, E> {
    Success(S),
    Failure((Status, E)),
    Forward(()),
}

Variants§

§

Success(S)

Contains the success value.

§

Failure((Status, E))

Contains the failure error value.

§

Forward(())

Contains the value to forward on.