pub enum ToolFailureKind {
InvalidInput,
NotFound,
NonZeroExit,
Timeout,
Runtime,
Denied,
}Variants§
InvalidInput
NotFound
NonZeroExit
Timeout
Runtime
Denied
Rejected by policy before dispatch (e.g. a shell command on the hard-deny list). The message tells the model why so it can adjust.
Trait Implementations§
Source§impl Clone for ToolFailureKind
impl Clone for ToolFailureKind
Source§fn clone(&self) -> ToolFailureKind
fn clone(&self) -> ToolFailureKind
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 ToolFailureKind
impl Debug for ToolFailureKind
impl Eq for ToolFailureKind
Source§impl PartialEq for ToolFailureKind
impl PartialEq for ToolFailureKind
Source§fn eq(&self, other: &ToolFailureKind) -> bool
fn eq(&self, other: &ToolFailureKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolFailureKind
Auto Trait Implementations§
impl Freeze for ToolFailureKind
impl RefUnwindSafe for ToolFailureKind
impl Send for ToolFailureKind
impl Sync for ToolFailureKind
impl Unpin for ToolFailureKind
impl UnsafeUnpin for ToolFailureKind
impl UnwindSafe for ToolFailureKind
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