pub trait McpServerHandler:
ServerHandler
+ Clone
+ Send
+ Sync
+ 'static { }Expand description
Trait for MCP server implementations that can be used with the microkernel
This trait provides the abstraction needed to support arbitrary MCP server implementations while leveraging the rmcp framework’s capabilities.
Any type that implements rmcp::ServerHandler can be used as an MCP server in the microkernel architecture.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<T> McpServerHandler for T
Blanket implementation for any type that implements the required traits