Enum McpTransport

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

1pub enum McpTransport {
2 Stdio,
3 Sse,
4 StreamableHttp,
5}

MCP server transport.

Variants

Stdio

Stdio

Standard input/output transport.

Sse

Sse

Server-Sent Events transport.

StreamableHttp

StreamableHttp

Streamable HTTP transport.

Implementations

impl McpTransport

impl McpTransport

as_str

pub fn as_str(self) -> &'static str

Return the stable configuration value for this transport.

Trait Implementations

impl Clone for McpTransport

impl Clone for McpTransport

clone

fn clone(&self) -> McpTransport

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for McpTransport

impl Debug for McpTransport

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for McpTransport

impl<'de> Deserialize<'de> for McpTransport

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for McpTransport

impl JsonSchema for McpTransport

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for McpTransport

impl PartialEq for McpTransport

eq

fn eq(&self, other: &McpTransport) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for McpTransport

impl Serialize for McpTransport

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl Copy for McpTransport

impl Copy for McpTransport

impl Eq for McpTransport

impl Eq for McpTransport

impl StructuralPartialEq for McpTransport

impl StructuralPartialEq for McpTransport