pub trait Terminated {
// Required method
fn is_terminated(&self) -> bool;
}Expand description
Reports whether a state machine has reached its terminal state.
Required Methods§
Sourcefn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns true after entering the generated X state.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".