pub fn check_attempt(step: &StepState, event: &EventInput) -> KResult<()>Expand description
Reject an event whose attempt is not the step’s current one: already_terminal for
a past attempt, illegal_transition for a future one.
pub fn check_attempt(step: &StepState, event: &EventInput) -> KResult<()>Reject an event whose attempt is not the step’s current one: already_terminal for
a past attempt, illegal_transition for a future one.