pub struct McpServerErrorState {
pub error: ErrorInfo,
}Expand description
Server failed to start, crashed, or otherwise transitioned to a non-recoverable error. Use {@link McpServerStatus.AuthRequired} for authentication failures.
Fields§
§error: ErrorInfoError details.
Trait Implementations§
Source§impl Clone for McpServerErrorState
impl Clone for McpServerErrorState
Source§fn clone(&self) -> McpServerErrorState
fn clone(&self) -> McpServerErrorState
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 McpServerErrorState
impl Debug for McpServerErrorState
Source§impl<'de> Deserialize<'de> for McpServerErrorState
impl<'de> Deserialize<'de> for McpServerErrorState
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
Source§impl PartialEq for McpServerErrorState
impl PartialEq for McpServerErrorState
Source§fn eq(&self, other: &McpServerErrorState) -> bool
fn eq(&self, other: &McpServerErrorState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpServerErrorState
impl Serialize for McpServerErrorState
impl StructuralPartialEq for McpServerErrorState
Auto Trait Implementations§
impl Freeze for McpServerErrorState
impl RefUnwindSafe for McpServerErrorState
impl Send for McpServerErrorState
impl Sync for McpServerErrorState
impl Unpin for McpServerErrorState
impl UnsafeUnpin for McpServerErrorState
impl UnwindSafe for McpServerErrorState
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