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§
Auto 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> UnsafeUnpin for NodeOutcome<Output, Action>where
Output: UnsafeUnpin,
Action: UnsafeUnpin,
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