pub enum McpServerTransport {
Stdio,
Http {
host: String,
port: u16,
},
}Expand description
Transport mode for the MCP server.
Variants§
Trait Implementations§
Source§impl Clone for McpServerTransport
impl Clone for McpServerTransport
Source§fn clone(&self) -> McpServerTransport
fn clone(&self) -> McpServerTransport
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 moreAuto Trait Implementations§
impl Freeze for McpServerTransport
impl RefUnwindSafe for McpServerTransport
impl Send for McpServerTransport
impl Sync for McpServerTransport
impl Unpin for McpServerTransport
impl UnsafeUnpin for McpServerTransport
impl UnwindSafe for McpServerTransport
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