Skip to main contentCrate fsm
Source - Machine
- The Machine is the Finite State Machine, which has a current state and set of all valid
transitions
- EnumTag
- Trait that should be trivially implementable for any C-Like Enum type
- Action
- Actions are just boxed immutable functions that take an argument of the event that triggered them
- Predicate
- Predicates are used to filter down whether a transition can occur