Skip to main content

lifecycle_transition

Function lifecycle_transition 

Source
pub fn lifecycle_transition(from: State, ev: LifecycleEvent) -> Option<State>
Expand description

None means the event is not valid in that state — terminal states never auto-transition, and e.g. operator_release only applies to quarantined.