Skip to main content

next_state

Function next_state 

Source
pub fn next_state(
    state: &str,
    event: Event,
) -> Result<&'static str, &'static str>
Expand description

The state after event in state.

ยงErrors

The event does not apply: why, in words.