Response

Type Alias Response 

Source
pub type Response<S> = Outcome<S>;
👎Deprecated since 0.4: Response has been renamed to Outcome
Expand description

Type alias that will be removed in some future release. Use Outcome instead.

Aliased Type§

pub enum Response<S> {
    Handled,
    Super,
    Transition(S),
}

Variants§

§

Handled

Consider the event handled.

§

Super

Defer the event to the superstate.

§

Transition(S)

Transition to the given state.