pub enum Next {
    Now(String),
    Restart(Option<String>),
    Back,
    Clear,
    Await(String),
    Select(Map),
    Call(String),
    Exit,
}
Expand description

Next-node action types

Variants

Now(String)

Instantly advances

Restart(Option<String>)

Restarts current node, optionally another node – heads immediately to this node on next evaluation

Back

Heads back to previous node visited

Clear

Clears out Node stack, pushes current node for further evaluation

Await(String)

Awaits for manual advancement, failure to advance continues current node

Select(Map)

Select from a group, based on decision

Call(String)

Calls a node, pushes it onto stack

Exit

Exits evaluation completely

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.