pub type Outcome<S, E> = Outcome<S, (Status, E), Status>;Expand description
Type alias for the Outcome of a FromRequest conversion.
Aliased Type§
pub enum Outcome<S, E> {
Success(S),
Error((Status, E)),
Forward(Status),
}Variants§
Success(S)
Contains the success value.
Error((Status, E))
Contains the error value.
Forward(Status)
Contains the value to forward on.