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: Clone, StateType: Clone, ErrorType: Clone> Clone for 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
Performs copy-assignment from source
. Read more
impl<EventType: PartialEq, StateType: PartialEq, ErrorType: PartialEq> PartialEq for Errors<EventType, StateType, ErrorType>
[src]
fn eq(&self, __arg_0: &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, __arg_0: &Errors<EventType, StateType, ErrorType>) -> bool
This method tests for !=
.