pub enum NodeOutcome<Output, Action> {
Success(Output),
Skipped,
RouteToAction(Action),
}Expand description
Possible outcomes of node execution
Variants§
Success(Output)
Node execution completed successfully with output
Skipped
Node execution was skipped
RouteToAction(Action)
Node completed but wants to route to a different next node
Trait Implementations§
Source§impl<Output: Clone, Action: Clone> Clone for NodeOutcome<Output, Action>
impl<Output: Clone, Action: Clone> Clone for NodeOutcome<Output, Action>
Source§fn clone(&self) -> NodeOutcome<Output, Action>
fn clone(&self) -> NodeOutcome<Output, Action>
Returns a copy 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<Output, Action> Freeze for NodeOutcome<Output, Action>
impl<Output, Action> RefUnwindSafe for NodeOutcome<Output, Action>where
Output: RefUnwindSafe,
Action: RefUnwindSafe,
impl<Output, Action> Send for NodeOutcome<Output, Action>
impl<Output, Action> Sync for NodeOutcome<Output, Action>
impl<Output, Action> Unpin for NodeOutcome<Output, Action>
impl<Output, Action> UnwindSafe for NodeOutcome<Output, Action>where
Output: UnwindSafe,
Action: UnwindSafe,
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