pub trait StateTrait { // Required method fn to_state(self) -> State; }
Trait to conveniently build a State from one of the possible states
Convert to a State enum