pub enum McpServerConfig {
Server(ServerConfig),
ToolProxy {
name: String,
servers: Vec<ServerConfig>,
},
}Expand description
Top-level MCP config: a single server OR a tool-proxy of single servers.
Variants§
Implementations§
Trait Implementations§
Source§impl Debug for McpServerConfig
impl Debug for McpServerConfig
Source§impl From<ServerConfig> for McpServerConfig
impl From<ServerConfig> for McpServerConfig
Source§fn from(cfg: ServerConfig) -> Self
fn from(cfg: ServerConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for McpServerConfig
impl !RefUnwindSafe for McpServerConfig
impl Send for McpServerConfig
impl Sync for McpServerConfig
impl Unpin for McpServerConfig
impl UnsafeUnpin for McpServerConfig
impl !UnwindSafe for McpServerConfig
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