pub struct ToolOutcome {
pub tool_name: String,
pub success: bool,
pub retries: u32,
pub error_category: Option<ToolErrorCategory>,
pub execution_time_ms: u64,
}Expand description
Outcome of a tool execution (for SEAL learning)
Fields§
§tool_name: StringName of the tool that was executed.
success: boolWhether execution succeeded.
retries: u32Number of retries performed.
error_category: Option<ToolErrorCategory>Error category if the tool failed.
execution_time_ms: u64Execution time in milliseconds.
Implementations§
Trait Implementations§
Source§impl Clone for ToolOutcome
impl Clone for ToolOutcome
Source§fn clone(&self) -> ToolOutcome
fn clone(&self) -> ToolOutcome
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 ToolOutcome
impl RefUnwindSafe for ToolOutcome
impl Send for ToolOutcome
impl Sync for ToolOutcome
impl Unpin for ToolOutcome
impl UnsafeUnpin for ToolOutcome
impl UnwindSafe for ToolOutcome
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