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

internal error at a given place that can be generated by transition implementation

the requested transition does not exist, FSM needs to be shut down

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]

[src]

Formats the value using the given formatter.

impl<EventType: Clone, StateType: Clone, ErrorType: Clone> Clone for Errors<EventType, StateType, ErrorType>
[src]

[src]

Returns a copy of the value. Read more

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]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<EventType: Eq, StateType: Eq, ErrorType: Eq> Eq for Errors<EventType, StateType, ErrorType>
[src]