#[non_exhaustive]pub enum McpToolCallErrorDetails {
Protocol {
code: i64,
message: String,
rest: Rest,
},
Execution {
content: Value,
rest: Rest,
},
Http {
code: i64,
message: String,
rest: Rest,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for McpToolCallErrorDetails
impl Clone for McpToolCallErrorDetails
Source§impl Debug for McpToolCallErrorDetails
impl Debug for McpToolCallErrorDetails
Source§impl DeclaredFields for McpToolCallErrorDetails
impl DeclaredFields for McpToolCallErrorDetails
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for McpToolCallErrorDetails
impl<'de> Deserialize<'de> for McpToolCallErrorDetails
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 McpToolCallErrorDetails
Source§impl PartialEq for McpToolCallErrorDetails
impl PartialEq for McpToolCallErrorDetails
Source§impl Serialize for McpToolCallErrorDetails
impl Serialize for McpToolCallErrorDetails
impl StructuralPartialEq for McpToolCallErrorDetails
Auto Trait Implementations§
impl Freeze for McpToolCallErrorDetails
impl RefUnwindSafe for McpToolCallErrorDetails
impl Send for McpToolCallErrorDetails
impl Sync for McpToolCallErrorDetails
impl Unpin for McpToolCallErrorDetails
impl UnsafeUnpin for McpToolCallErrorDetails
impl UnwindSafe for McpToolCallErrorDetails
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