Macro sfsm::derive_try_state
source · [−]derive_try_state!() { /* proc-macro */ }
Expand description
Derives an empty implementation of the TryState.
ⓘ
derive_try_state!(Foo);
// Generates
impl TryState for Foo {};
It’s somewhat redundant, but it is added for consistency to match the other derive_* functions and to help keep state machine short and clean.