pub enum NodeResult<State, Deps, End> {
Next(Box<dyn BaseNode<State, Deps, End>>),
NextNamed(String),
End(End),
}Expand description
Result of a node execution.
Variants§
Next(Box<dyn BaseNode<State, Deps, End>>)
Continue to another node.
NextNamed(String)
Continue to a named node.
End(End)
End the graph with a result.
Implementations§
Source§impl<State, Deps, End> NodeResult<State, Deps, End>
impl<State, Deps, End> NodeResult<State, Deps, End>
Auto Trait Implementations§
impl<State, Deps, End> Freeze for NodeResult<State, Deps, End>where
End: Freeze,
impl<State, Deps, End> !RefUnwindSafe for NodeResult<State, Deps, End>
impl<State, Deps, End> Send for NodeResult<State, Deps, End>where
End: Send,
impl<State, Deps, End> Sync for NodeResult<State, Deps, End>where
End: Sync,
impl<State, Deps, End> Unpin for NodeResult<State, Deps, End>where
End: Unpin,
impl<State, Deps, End> !UnwindSafe for NodeResult<State, Deps, End>
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