pub struct McpConnectionErrorPayload {
pub server_name: String,
pub error_message: String,
}Expand description
An MCP server that was to be connected was not: it would not start, the handshake failed or timed out, its configuration was rejected.
Fields§
§server_name: String§error_message: StringTrait Implementations§
Source§impl Clone for McpConnectionErrorPayload
impl Clone for McpConnectionErrorPayload
Source§fn clone(&self) -> McpConnectionErrorPayload
fn clone(&self) -> McpConnectionErrorPayload
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 McpConnectionErrorPayload
impl Debug for McpConnectionErrorPayload
Source§impl JsonSchema for McpConnectionErrorPayload
impl JsonSchema for McpConnectionErrorPayload
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Redact for McpConnectionErrorPayload
impl Redact for McpConnectionErrorPayload
fn redact(self, policy: &RedactionPolicy) -> Self
Source§impl Serialize for McpConnectionErrorPayload
impl Serialize for McpConnectionErrorPayload
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for McpConnectionErrorPayload
impl Freeze for McpConnectionErrorPayload
impl Move for McpConnectionErrorPayload
impl RefUnwindSafe for McpConnectionErrorPayload
impl Send for McpConnectionErrorPayloadwhere
RawVecInner: Send,
impl Sync for McpConnectionErrorPayloadwhere
RawVecInner: Sync,
impl Unpin for McpConnectionErrorPayload
impl UnsafeUnpin for McpConnectionErrorPayload
impl UnwindSafe for McpConnectionErrorPayloadwhere
RawVecInner: UnwindSafe,
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