Skip to main content

Become

Type Alias Become 

Source
pub type Become<Ph = Never> = Step<Ph, Stopped>;

Aliased Type§

pub enum Become<Ph = Never> {
    Continue,
    Goto(Ph),
    Stop(Stopped),
}

Variants§

§

Continue

Keep the current behavior; poll for the next event.

§

Goto(Ph)

Transition to another phase from the menu (no-op when already there).

§

Stop(Stopped)

Select a terminal result. In crate::Become this is the payload-free Stopped marker.