Expand description
Handler traits for MCP operations
This module contains all the handler traits that define the interface for processing different types of MCP requests and operations.
Re-exports§
pub use completion::CompletionHandler;pub use elicitation::ElicitationHandler;pub use logging::LoggingHandler;pub use ping::PingHandler;pub use prompt::PromptHandler;pub use resource::ResourceHandler;pub use resource_template::ResourceTemplateHandler;pub use sampling::SamplingHandler;pub use tool::ToolHandler;
Modules§
- completion
- Completion handler trait for argument autocompletion
- elicitation
- Elicitation handler trait for server-initiated user input requests
- logging
- Logging handler trait for processing logging requests
- ping
- Ping handler trait for bidirectional health monitoring
- prompt
- Prompt handler trait for processing prompt requests
- resource
- Resource handler trait for processing resource requests
- resource_
template - Resource template handler trait for parameterized resource access
- sampling
- Sampling handler trait for processing sampling requests
- tool
- Tool handler trait for processing tool calls