pub enum TransitionError<T> {
OutOfOrder {
state: T,
event: T,
},
MissingAttribute(String),
DecodeError(String),
InvalidEventType(),
SimulationError(SimulationError),
}Variants§
OutOfOrder
MissingAttribute(String)
DecodeError(String)
InvalidEventType()
SimulationError(SimulationError)
Trait Implementations§
Source§impl<T: Debug> Debug for TransitionError<T>
impl<T: Debug> Debug for TransitionError<T>
Source§impl<T> From<SimulationError> for TransitionError<T>
impl<T> From<SimulationError> for TransitionError<T>
Source§fn from(error: SimulationError) -> Self
fn from(error: SimulationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for TransitionError<T>where
T: Freeze,
impl<T> !RefUnwindSafe for TransitionError<T>
impl<T> Send for TransitionError<T>where
T: Send,
impl<T> Sync for TransitionError<T>where
T: Sync,
impl<T> Unpin for TransitionError<T>where
T: Unpin,
impl<T> !UnwindSafe for TransitionError<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more