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
impl StructuralPartialEq for Next
Auto Trait Implementations
impl RefUnwindSafe for Next
impl Send for Next
impl Sync for Next
impl Unpin for Next
impl UnwindSafe for Next
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more