pub enum ToolRpcError {
ProtocolError(String),
Denied(String),
NotFound(String),
RemoteInternalError(String),
RemoteToolError(ToolError),
Cancelled,
ResourceExhausted(String),
}Variants§
ProtocolError(String)
Denied(String)
NotFound(String)
RemoteInternalError(String)
RemoteToolError(ToolError)
Cancelled
The operation’s explicit cancellation won terminal arbitration.
ResourceExhausted(String)
A filesystem-capable input or output attachment exceeded the configured per-direction retained-byte limit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolRpcError
impl RefUnwindSafe for ToolRpcError
impl Send for ToolRpcError
impl Sync for ToolRpcError
impl Unpin for ToolRpcError
impl UnsafeUnpin for ToolRpcError
impl UnwindSafe for ToolRpcError
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