pub fn next_state( state: &str, event: Event, ) -> Result<&'static str, &'static str>
The state after event in state.
event
state
The event does not apply: why, in words.