pub enum FsmEvent<E, T> {
Start,
Stop,
Timer(T),
Event(E),
}
Expand description
The internal event type that also allows stopping or starting the machine.
Variants
Start
Stop
Timer(T)
Event(E)
Implementations
pub fn to_sub_fsm<FSub>(
self
) -> FsmEvent<<FSub as FsmBackend>::Events, <FSub as FsmBackend>::Timers> where
FSub: FsmBackend,
<FSub as FsmBackend>::Timers: From<T>,
<FSub as FsmBackend>::Timers: From<E>,
Trait Implementations
Auto Trait Implementations
impl<E, T> RefUnwindSafe for FsmEvent<E, T> where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<E, T> UnwindSafe for FsmEvent<E, T> where
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more