pub enum NodeOutcome {
Continue,
Route(String),
FanOut {
branches: Vec<String>,
merge: String,
},
Done,
}Expand description
The outcome of a node’s execution, controlling graph traversal.
Variants§
Continue
Follow the edges from this node (check conditions in order).
Route(String)
Route directly to a named node, ignoring edges.
FanOut
Execute multiple branches in parallel, then continue from the merge node.
Fields
Done
The graph is done; stop execution.
Trait Implementations§
Source§impl Clone for NodeOutcome
impl Clone for NodeOutcome
Source§fn clone(&self) -> NodeOutcome
fn clone(&self) -> NodeOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NodeOutcome
impl RefUnwindSafe for NodeOutcome
impl Send for NodeOutcome
impl Sync for NodeOutcome
impl Unpin for NodeOutcome
impl UnsafeUnpin for NodeOutcome
impl UnwindSafe for NodeOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more