pub enum GraphCommand {
Goto(String),
End,
}Expand description
A graph execution command that can override normal edge routing.
Commands provide dynamic control flow within graph nodes, allowing nodes to redirect execution to specific nodes or end the graph without relying solely on edge definitions.
Variants§
Goto(String)
Go to a specific node next, overriding normal routing.
End
End the graph execution immediately.
Trait Implementations§
Source§impl Clone for GraphCommand
impl Clone for GraphCommand
Source§fn clone(&self) -> GraphCommand
fn clone(&self) -> GraphCommand
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 GraphCommand
impl RefUnwindSafe for GraphCommand
impl Send for GraphCommand
impl Sync for GraphCommand
impl Unpin for GraphCommand
impl UnsafeUnpin for GraphCommand
impl UnwindSafe for GraphCommand
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