pub enum Response<S> {
Handled,
Super,
Transition(S),
}Expand description
Response that can be returned by a state machine.
Variants
Handled
Consider the event handled.
Super
Defer the event to the superstate.
Transition(S)
Transition to the given state.
Auto Trait Implementations
impl<S> RefUnwindSafe for Response<S>where
S: RefUnwindSafe,
impl<S> Send for Response<S>where
S: Send,
impl<S> Sync for Response<S>where
S: Sync,
impl<S> Unpin for Response<S>where
S: Unpin,
impl<S> UnwindSafe for Response<S>where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more