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§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 moreAuto 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