pub enum McpServerStatusConfig {
Stdio(McpStdioServerConfig),
Sse(McpSSEServerConfig),
Http(McpHttpServerConfig),
Sdk(McpSdkServerStatusConfig),
ClaudeAiProxy(McpClaudeAiProxyServerConfig),
Unknown(Value),
}Expand description
MCP server config shape returned by get_mcp_status.
Variants§
Stdio(McpStdioServerConfig)
stdio server configuration.
Sse(McpSSEServerConfig)
SSE server configuration.
Http(McpHttpServerConfig)
HTTP server configuration.
Sdk(McpSdkServerStatusConfig)
In-process SDK server configuration.
ClaudeAiProxy(McpClaudeAiProxyServerConfig)
Claude.ai proxy server configuration.
Unknown(Value)
Forward-compatible fallback for unknown config payloads.
Trait Implementations§
Source§impl Clone for McpServerStatusConfig
impl Clone for McpServerStatusConfig
Source§fn clone(&self) -> McpServerStatusConfig
fn clone(&self) -> McpServerStatusConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 McpServerStatusConfig
impl Debug for McpServerStatusConfig
Source§impl<'de> Deserialize<'de> for McpServerStatusConfig
impl<'de> Deserialize<'de> for McpServerStatusConfig
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 McpServerStatusConfig
impl PartialEq for McpServerStatusConfig
Source§impl Serialize for McpServerStatusConfig
impl Serialize for McpServerStatusConfig
impl Eq for McpServerStatusConfig
impl StructuralPartialEq for McpServerStatusConfig
Auto Trait Implementations§
impl Freeze for McpServerStatusConfig
impl RefUnwindSafe for McpServerStatusConfig
impl Send for McpServerStatusConfig
impl Sync for McpServerStatusConfig
impl Unpin for McpServerStatusConfig
impl UnsafeUnpin for McpServerStatusConfig
impl UnwindSafe for McpServerStatusConfig
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