Expand description
State transition table for run instances.
This module defines the valid transitions between run states and enforces the invariant that backward transitions are forbidden.
Structs§
- Transition
- A transition represents a valid state change.
Enums§
- RunTransition
Error - Typed errors for lifecycle transition construction.
Functions§
- is_
valid_ transition - Checks if a transition from
fromtotois valid. - valid_
transitions - Returns all valid transitions from a given state.