pub trait Terminating {
// Required method
fn terminating(&self) -> bool;
}Expand description
A trait to mark the terminating event of a state machine.
This can be implemented by Fsm::E.
If event.terminating() then no more events are expected
for the receiving state machine and the state machine driver
might drop it or take other lifecycle steps.
Required Methods§
Sourcefn terminating(&self) -> bool
fn terminating(&self) -> bool
This event is the final event.