[−][src]Trait finny::FsmBackend
Finite State Machine backend. Handles the dispatching, the types are defined by the code generator.
Associated Types
type Context
[src]
The machine's context that is shared between its constructors and actions.
type States: FsmStates
[src]
The type that holds the states of the machine.
type Events
[src]
A tagged union type with all the supported events.
Required methods
pub fn dispatch_event<Q>(
frontend: &mut FsmFrontend<Self, Q>,
event: &FsmEvent<Self::Events>
) -> FsmResult<()> where
Q: FsmEventQueue<Self>,
[src]
frontend: &mut FsmFrontend<Self, Q>,
event: &FsmEvent<Self::Events>
) -> FsmResult<()> where
Q: FsmEventQueue<Self>,