pub enum McpServerType {
Stdio,
Sse,
WebSocket,
}Expand description
Type of MCP server transport.
Variants§
Stdio
Standard I/O transport (spawned process)
Sse
Server-Sent Events over HTTP
WebSocket
WebSocket transport
Trait Implementations§
Source§impl Clone for McpServerType
impl Clone for McpServerType
Source§fn clone(&self) -> McpServerType
fn clone(&self) -> McpServerType
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 McpServerType
impl Debug for McpServerType
Source§impl Default for McpServerType
impl Default for McpServerType
Source§fn default() -> McpServerType
fn default() -> McpServerType
Returns the “default value” for a type. Read more
Source§impl Hash for McpServerType
impl Hash for McpServerType
Source§impl PartialEq for McpServerType
impl PartialEq for McpServerType
impl Copy for McpServerType
impl Eq for McpServerType
impl StructuralPartialEq for McpServerType
Auto Trait Implementations§
impl Freeze for McpServerType
impl RefUnwindSafe for McpServerType
impl Send for McpServerType
impl Sync for McpServerType
impl Unpin for McpServerType
impl UnsafeUnpin for McpServerType
impl UnwindSafe for McpServerType
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