pub enum ToolResultStatus {
Succeeded,
Failed,
Rejected,
Cancelled,
TimedOut,
UnknownOutcome,
}Expand description
Terminal status of one tool invocation, recorded verbatim as a fact; mapping from execution errors is the driver’s job, not the kernel’s.
Variants§
Succeeded
The tool returned an outcome.
Failed
The tool ran but reported failure (including panic isolation).
Rejected
The call never ran — unknown tool, denied by a filter, or otherwise refused before execution.
Cancelled
The invocation was cancelled before producing an outcome.
TimedOut
The invocation exceeded its time budget before producing an outcome.
UnknownOutcome
No outcome was observed (e.g. the call-deadline backstop fired); whether the turn continues is the harness’s unknown-outcome configuration, not tool vocabulary.
Trait Implementations§
Source§impl Clone for ToolResultStatus
impl Clone for ToolResultStatus
Source§fn clone(&self) -> ToolResultStatus
fn clone(&self) -> ToolResultStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolResultStatus
impl Debug for ToolResultStatus
Source§impl<'de> Deserialize<'de> for ToolResultStatus
impl<'de> Deserialize<'de> for ToolResultStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ToolResultStatus
Source§impl PartialEq for ToolResultStatus
impl PartialEq for ToolResultStatus
Source§impl Serialize for ToolResultStatus
impl Serialize for ToolResultStatus
impl StructuralPartialEq for ToolResultStatus
Auto Trait Implementations§
impl Freeze for ToolResultStatus
impl RefUnwindSafe for ToolResultStatus
impl Send for ToolResultStatus
impl Sync for ToolResultStatus
impl Unpin for ToolResultStatus
impl UnsafeUnpin for ToolResultStatus
impl UnwindSafe for ToolResultStatus
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