pub struct McpServerError {
pub name: String,
pub error_type: String,
pub message: String,
}Expand description
An MCP server config entry that failed validation, reported by system
init (e.g. a url entry with no type). The affected server is skipped
and absent from InitMessage::mcp_servers.
Fields§
§name: String§error_type: StringStable error category.
message: StringTrait Implementations§
Source§impl Clone for McpServerError
impl Clone for McpServerError
Source§fn clone(&self) -> McpServerError
fn clone(&self) -> McpServerError
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 McpServerError
impl Debug for McpServerError
Source§impl<'de> Deserialize<'de> for McpServerError
impl<'de> Deserialize<'de> for McpServerError
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 McpServerError
impl PartialEq for McpServerError
Source§impl Serialize for McpServerError
impl Serialize for McpServerError
impl StructuralPartialEq for McpServerError
Auto Trait Implementations§
impl Freeze for McpServerError
impl RefUnwindSafe for McpServerError
impl Send for McpServerError
impl Sync for McpServerError
impl Unpin for McpServerError
impl UnsafeUnpin for McpServerError
impl UnwindSafe for McpServerError
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