Skip to main content

Crate state_machines_core

Crate state_machines_core 

Source

Structs§

CallbackError
Error returned when a before/after callback returns a user-defined error.
EventDefinition
GuardError
Error returned when a guard or around callback fails in typestate mode.
MachineDefinition
SuperstateDefinition
TransitionContext
TransitionDefinition
TransitionError
Represents an error that occurred while attempting a transition.

Enums§

AroundOutcome
AroundStage
DynamicError
Error returned when dynamic dispatch fails.
EventError
Error returned from typestate event methods.
TransitionErrorKind

Traits§

Machine
MachineState
Marker trait for states used by the generated state machines.
SubstateOf
Marker trait indicating that a state is a substate of a superstate.

Type Aliases§

TransitionResult