MachineState

Trait MachineState 

Source
pub trait MachineState:
    Copy
    + Eq
    + Debug
    + Send
    + Sync
    + 'static { }
Expand description

Marker trait for states used by the generated state machines.

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.

Implementors§

Source§

impl<T> MachineState for T
where T: Copy + Eq + Debug + Send + Sync + 'static,