Enum rustfsm_trait::MachineUpdate [−][src]
pub enum MachineUpdate<Machine> where
Machine: StateMachine, { InvalidTransition, Ok { commands: Vec<Machine::Command>, }, }
Variants
Implementations
impl<M> MachineUpdate<M> where
M: StateMachine,
[src]
M: StateMachine,
pub fn unwrap(self) -> Vec<M::Command>
[src]
Unwraps the machine update, panicking if the transition was invalid.
Auto Trait Implementations
impl<Machine> RefUnwindSafe for MachineUpdate<Machine> where
<Machine as StateMachine>::Command: RefUnwindSafe,
<Machine as StateMachine>::Command: RefUnwindSafe,
impl<Machine> Send for MachineUpdate<Machine> where
<Machine as StateMachine>::Command: Send,
<Machine as StateMachine>::Command: Send,
impl<Machine> Sync for MachineUpdate<Machine> where
<Machine as StateMachine>::Command: Sync,
<Machine as StateMachine>::Command: Sync,
impl<Machine> Unpin for MachineUpdate<Machine> where
<Machine as StateMachine>::Command: Unpin,
<Machine as StateMachine>::Command: Unpin,
impl<Machine> UnwindSafe for MachineUpdate<Machine> where
<Machine as StateMachine>::Command: UnwindSafe,
<Machine as StateMachine>::Command: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,