pub enum McpServerConfigHttpType {
Http,
Sse,
Unknown,
}Expand description
Remote transport type. Defaults to “http” when omitted.
Variants§
Http
Streamable HTTP transport.
Sse
Server-Sent Events transport.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for McpServerConfigHttpType
impl Clone for McpServerConfigHttpType
Source§fn clone(&self) -> McpServerConfigHttpType
fn clone(&self) -> McpServerConfigHttpType
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 McpServerConfigHttpType
impl Debug for McpServerConfigHttpType
Source§impl Default for McpServerConfigHttpType
impl Default for McpServerConfigHttpType
Source§fn default() -> McpServerConfigHttpType
fn default() -> McpServerConfigHttpType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpServerConfigHttpType
impl<'de> Deserialize<'de> for McpServerConfigHttpType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for McpServerConfigHttpType
Source§impl PartialEq for McpServerConfigHttpType
impl PartialEq for McpServerConfigHttpType
Source§fn eq(&self, other: &McpServerConfigHttpType) -> bool
fn eq(&self, other: &McpServerConfigHttpType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpServerConfigHttpType
impl Serialize for McpServerConfigHttpType
impl StructuralPartialEq for McpServerConfigHttpType
Auto Trait Implementations§
impl Freeze for McpServerConfigHttpType
impl RefUnwindSafe for McpServerConfigHttpType
impl Send for McpServerConfigHttpType
impl Sync for McpServerConfigHttpType
impl Unpin for McpServerConfigHttpType
impl UnsafeUnpin for McpServerConfigHttpType
impl UnwindSafe for McpServerConfigHttpType
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