Crate sfsm_base

Source
Expand description

§Static state machine generator for no_std environments base

Contains base traits used by the sfsm library. Head over there for a more detailed description of the project.

Re-exports§

pub use __protected::*;
pub use non_fallible::*;
pub use fallible::*;
pub use message::*;
pub use message::__protected::*;

Modules§

__protected
Contains traits that are used to interact with the state machine but should not be implemented manually. All necessary implementations will be created by the macros.
fallible
Contains definitions for a state machine that contains error handling mechanisms
message
Contains definitions and code for the messaging system
non_fallible
Contains definitions used by a state machine without any error handling support

Enums§

TransitGuard
Enum used to indicate to the guard function if the transition should transit to the next state or remain in the current one.