pub enum GraphOutcome {
Completed {
output: Value,
},
Parked {
node: String,
reason: ParkReason,
},
}Expand description
How a graph drive ended.
Variants§
Completed
The graph ran to completion; this is the final output the terminal
RunCompleted recorded.
Parked
A node parked the run durably (an agent’s budget crossing or a tool suspension). The run survives restarts; resume it through the runtime’s resume path, then drive the graph again to continue.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphOutcome
impl RefUnwindSafe for GraphOutcome
impl Send for GraphOutcome
impl Sync for GraphOutcome
impl Unpin for GraphOutcome
impl UnsafeUnpin for GraphOutcome
impl UnwindSafe for GraphOutcome
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