Trait statig::StateMachineContextEqSelfExt
source · pub trait StateMachineContextEqSelfExt: StateMachine<Context = Self> {
fn state_machine(self) -> UninitializedStateMachine<Self>
where
Self: Sized,
{ ... }
}Expand description
A state machine where the context is of type Self.
Provided Methods
sourcefn state_machine(self) -> UninitializedStateMachine<Self>where
Self: Sized,
fn state_machine(self) -> UninitializedStateMachine<Self>where
Self: Sized,
Create an uninitialized state machine. Use UninitializedStateMachine::init to initialize it.