turbomcp_server/handlers/traits/
mod.rs

1//! Handler traits for MCP operations
2//!
3//! This module contains all the handler traits that define the interface
4//! for processing different types of MCP requests and operations.
5
6pub mod completion;
7pub mod elicitation;
8pub mod logging;
9pub mod ping;
10pub mod prompt;
11pub mod resource;
12pub mod resource_template;
13pub mod sampling;
14pub mod tool;
15
16// Re-export all traits for backwards compatibility
17pub use completion::CompletionHandler;
18pub use elicitation::ElicitationHandler;
19pub use logging::LoggingHandler;
20pub use ping::PingHandler;
21pub use prompt::PromptHandler;
22pub use resource::ResourceHandler;
23pub use resource_template::ResourceTemplateHandler;
24pub use sampling::SamplingHandler;
25pub use tool::ToolHandler;