pub enum McpClientTransport {
Stdio(McpStdioTransport),
Sse(McpRemoteTransport),
Http(McpRemoteTransport),
WebSocket(McpRemoteTransport),
Sdk(McpSdkTransport),
ManagedProxy(McpManagedProxyTransport),
}Variants§
Stdio(McpStdioTransport)
Sse(McpRemoteTransport)
Http(McpRemoteTransport)
WebSocket(McpRemoteTransport)
Sdk(McpSdkTransport)
ManagedProxy(McpManagedProxyTransport)
Implementations§
Source§impl McpClientTransport
impl McpClientTransport
pub fn from_config(config: &McpServerConfig) -> Self
Trait Implementations§
Source§impl Clone for McpClientTransport
impl Clone for McpClientTransport
Source§fn clone(&self) -> McpClientTransport
fn clone(&self) -> McpClientTransport
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 McpClientTransport
impl Debug for McpClientTransport
Source§impl PartialEq for McpClientTransport
impl PartialEq for McpClientTransport
impl Eq for McpClientTransport
impl StructuralPartialEq for McpClientTransport
Auto Trait Implementations§
impl Freeze for McpClientTransport
impl RefUnwindSafe for McpClientTransport
impl Send for McpClientTransport
impl Sync for McpClientTransport
impl Unpin for McpClientTransport
impl UnsafeUnpin for McpClientTransport
impl UnwindSafe for McpClientTransport
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