Crate rex

source ·

Re-exports§

Modules§

Macros§

Structs§

Traits§

  • Acts as a discriminant between various State enumerations, similar to std::mem::Discriminant. Used to define the scope for Signals cycled through a StateMachineManager.
  • Titular trait of the library that enables Hierarchical State Machine (HSM for short) behaviour. Makes sending Signals (destined to become a StateMachine’s input) and Notifications (a NotificationProcessor’s input) possible.
  • A trait for types representing state machine lifecycles. These types should be field-less enumerations or enumerations whose variants only contain field-less enumerations; note that Copy is a required supertrait.