Enum extfsm::Errors [−][src]
pub enum Errors<EventType, StateType, ErrorType> { OK, InternalError(EventType, StateType, ErrorType), NoTransition(EventType, StateType), TransitionFailure, }
Errors that can occur when running FSMs
Variants
OK
InternalError(EventType, StateType, ErrorType)
internal error at a given place that can be generated by transition implementation
NoTransition(EventType, StateType)
the requested transition does not exist, FSM needs to be shut down
TransitionFailure
transition failed, you have to shut down the FSM
Trait Implementations
impl<EventType: Debug, StateType: Debug, ErrorType: Debug> Debug for Errors<EventType, StateType, ErrorType>
[src]
impl<EventType: Debug, StateType: Debug, ErrorType: Debug> Debug for Errors<EventType, StateType, ErrorType>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<EventType: Clone, StateType: Clone, ErrorType: Clone> Clone for Errors<EventType, StateType, ErrorType>
[src]
impl<EventType: Clone, StateType: Clone, ErrorType: Clone> Clone for Errors<EventType, StateType, ErrorType>
fn clone(&self) -> Errors<EventType, StateType, ErrorType>
[src]
fn clone(&self) -> Errors<EventType, StateType, ErrorType>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<EventType: PartialEq, StateType: PartialEq, ErrorType: PartialEq> PartialEq for Errors<EventType, StateType, ErrorType>
[src]
impl<EventType: PartialEq, StateType: PartialEq, ErrorType: PartialEq> PartialEq for Errors<EventType, StateType, ErrorType>
fn eq(&self, other: &Errors<EventType, StateType, ErrorType>) -> bool
[src]
fn eq(&self, other: &Errors<EventType, StateType, ErrorType>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Errors<EventType, StateType, ErrorType>) -> bool
[src]
fn ne(&self, other: &Errors<EventType, StateType, ErrorType>) -> bool
This method tests for !=
.
impl<EventType: Eq, StateType: Eq, ErrorType: Eq> Eq for Errors<EventType, StateType, ErrorType>
[src]
impl<EventType: Eq, StateType: Eq, ErrorType: Eq> Eq for Errors<EventType, StateType, ErrorType>