pub trait StateMarker {
type Data;
}Expand description
A generated state marker type.
Every #[state] variant produces one marker type that implements
StateMarker. The associated Data type is () for unit states and the
tuple payload type for data-bearing states.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".