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

Object Safety§

This trait is not object safe.

Implementors§