Files
state-machine/README.md
Christopher Vagnetoft 3d276060ec Initial commit
2026-01-07 01:24:40 +01:00

8 lines
244 B
Markdown

# A minimal state machine
This is a minimal state machine built around enums. The idea is to annotate the different
enum values with the valid transitions for each of the values, and then make use of the
included traits to handle the logic.