Crate rustfsm

Source

Macros§

fsm
Parses a DSL for defining finite state machines, and produces code implementing the StateMachine trait.

Enums§

MachineError
The error returned by StateMachines when handling events
TransitionResult
A transition result is emitted every time the StateMachine handles an event.

Traits§

StateMachine
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.