pub enum McpErrorKind {
NetworkError,
AuthError,
ServerError,
ExecutionFailed,
Timeout,
Other,
}Expand description
MCP 连接错误类型
Variants§
Trait Implementations§
Source§impl Clone for McpErrorKind
impl Clone for McpErrorKind
Source§fn clone(&self) -> McpErrorKind
fn clone(&self) -> McpErrorKind
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 McpErrorKind
impl Debug for McpErrorKind
Source§impl Serialize for McpErrorKind
impl Serialize for McpErrorKind
impl Copy for McpErrorKind
Auto Trait Implementations§
impl Freeze for McpErrorKind
impl RefUnwindSafe for McpErrorKind
impl Send for McpErrorKind
impl Sync for McpErrorKind
impl Unpin for McpErrorKind
impl UnsafeUnpin for McpErrorKind
impl UnwindSafe for McpErrorKind
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