Skip to main content

Crate state_m

Crate state_m 

Source

Structs§

Barrier
Barriers
Door
Reader
Reader of state, to receive state change events.
State
State type.
StateEvent
State change event.
StateMachine
StateMachine: data structure to store handles.

Enums§

AddHandleError
AddHandleError
GetHandleError
GetHandleError
StateChange
State change result.
StateChangeError
StateChangeError

Traits§

AsPassCheck
AsState
State type needs to implement these traits: Clone, Debug, Default, PartialEq.
AsTag
Tag type needs to implement these traits: Clone, Debug, Eq, Hash, Send, Sync.
HasStateMachine
KvAssoc
Associate a Key type and a Value type.
UseStateMachine

Attribute Macros§

state_tag