pub enum ToolErrorClass {
InvalidArguments,
UnknownTool,
ApprovalRequired,
Denied,
Timeout,
Cancelled,
OutputTooLarge,
Execution,
ReceiptPersistence,
ProviderContract,
}Variants§
InvalidArguments
UnknownTool
ApprovalRequired
Denied
Timeout
Cancelled
OutputTooLarge
Execution
ReceiptPersistence
ProviderContract
Trait Implementations§
Source§impl Clone for ToolErrorClass
impl Clone for ToolErrorClass
Source§fn clone(&self) -> ToolErrorClass
fn clone(&self) -> ToolErrorClass
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 ToolErrorClass
impl Debug for ToolErrorClass
Source§impl<'de> Deserialize<'de> for ToolErrorClass
impl<'de> Deserialize<'de> for ToolErrorClass
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 ToolErrorClass
Source§impl PartialEq for ToolErrorClass
impl PartialEq for ToolErrorClass
Source§impl Serialize for ToolErrorClass
impl Serialize for ToolErrorClass
impl StructuralPartialEq for ToolErrorClass
Auto Trait Implementations§
impl Freeze for ToolErrorClass
impl RefUnwindSafe for ToolErrorClass
impl Send for ToolErrorClass
impl Sync for ToolErrorClass
impl Unpin for ToolErrorClass
impl UnsafeUnpin for ToolErrorClass
impl UnwindSafe for ToolErrorClass
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