Trait State
rusty_state::machine
pub trait State { pub fn transition_allowed(self, new_state: &Self) -> bool; }
Trait that must be implemented by state enumerations
pub fn transition_allowed(self, new_state: &Self) -> bool