pub enum McpServerConfigTransport {
Stdio(McpStdioTransport),
Http(McpHttpTransport),
}Expand description
The transport oneof of McpServerConfig, as an owned value.
Variants§
Stdio(McpStdioTransport)
Http(McpHttpTransport)
Trait Implementations§
Source§impl Clone for McpServerConfigTransport
impl Clone for McpServerConfigTransport
Source§fn clone(&self) -> McpServerConfigTransport
fn clone(&self) -> McpServerConfigTransport
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 moreSource§impl Debug for McpServerConfigTransport
impl Debug for McpServerConfigTransport
Source§impl PartialEq for McpServerConfigTransport
impl PartialEq for McpServerConfigTransport
impl StructuralPartialEq for McpServerConfigTransport
Auto Trait Implementations§
impl Freeze for McpServerConfigTransport
impl RefUnwindSafe for McpServerConfigTransport
impl Send for McpServerConfigTransport
impl Sync for McpServerConfigTransport
impl Unpin for McpServerConfigTransport
impl UnsafeUnpin for McpServerConfigTransport
impl UnwindSafe for McpServerConfigTransport
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