Macros§
- fsm
- Parses a DSL for defining finite state machines, and produces code implementing the StateMachine trait.
Enums§
- Machine
Error - The error returned by StateMachines when handling events
- Transition
Result - A transition result is emitted every time the StateMachine handles an event.
Traits§
- State
Machine - This trait defines a state machine (more formally, a finite state transducer) which accepts events (the input alphabet), uses them to mutate itself, and (may) output some commands (the output alphabet) as a result.