Skip to main content

Create

Type Alias Create 

Source
pub type Create<FSM> = Create<Fsm<FSM>>;

Aliased Type§

pub struct Create<FSM> { /* private fields */ }

Trait Implementations§

Source§

impl<'_ref, FSM: StateMachineTy> TryFrom<&'_ref Actions<FSM>> for &'_ref Create<FSM>

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'_ref Actions<FSM>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_ref, FSM: StateMachineTy> TryFrom<&'_ref mut Actions<FSM>> for &'_ref mut Create<FSM>

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'_ref mut Actions<FSM>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<FSM: StateMachineTy> TryFrom<Actions<FSM>> for Create<FSM>

Source§

type Error = Actions<FSM>

The type returned in the event of a conversion error.
Source§

fn try_from(value: Actions<FSM>) -> Result<Self, Self::Error>

Performs the conversion.