pub trait StateTransition<S> { }Expand description
A StateTransition defines valid transitions from one state into another.
Implement StateTransition on the given State struct to define a new
state transition. Alternatively, use the convenience macro
statemachine!.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.