Crate fsm [−] [src]
Structs
Machine |
The Machine is the Finite State Machine, which has a current state and set of all valid transitions |
Traits
EnumTag |
Trait that should be trivially implementable for any C-Like Enum type |
Type Definitions
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 |