Skip to main content

Module transitions

Module transitions 

Source
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§

RunTransitionError
Typed errors for lifecycle transition construction.

Functions§

is_valid_transition
Checks if a transition from from to to is valid.
valid_transitions
Returns all valid transitions from a given state.