pub enum ToolInvocationOutcome {
Completed,
Skipped {
reason: Option<String>,
},
}Expand description
Outcome recorded for one normalized ToolInvocation.
Variants§
Completed
The tool body ran and produced the result.
Skipped
A hook supplied a synthetic skip result instead of invoking the tool.
Trait Implementations§
Source§impl Clone for ToolInvocationOutcome
impl Clone for ToolInvocationOutcome
Source§fn clone(&self) -> ToolInvocationOutcome
fn clone(&self) -> ToolInvocationOutcome
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 ToolInvocationOutcome
impl Debug for ToolInvocationOutcome
Source§impl PartialEq for ToolInvocationOutcome
impl PartialEq for ToolInvocationOutcome
Source§fn eq(&self, other: &ToolInvocationOutcome) -> bool
fn eq(&self, other: &ToolInvocationOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolInvocationOutcome
Auto Trait Implementations§
impl Freeze for ToolInvocationOutcome
impl RefUnwindSafe for ToolInvocationOutcome
impl Send for ToolInvocationOutcome
impl Sync for ToolInvocationOutcome
impl Unpin for ToolInvocationOutcome
impl UnsafeUnpin for ToolInvocationOutcome
impl UnwindSafe for ToolInvocationOutcome
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