Expand description
Handler traits and implementations for MCP operations
This module contains the decomposed handler system with focused modules:
traits: All handler trait definitionscomposite: Composite handler pattern for multi-type handlerswrapper: Handler wrapper infrastructure with metadataimplementations: Concrete handler implementationsutils: Utility functions for creating handlers from closures
Re-exports§
pub use composite::CompositeHandler;pub use implementations::FunctionToolHandler;pub use utils::FunctionPromptHandler;pub use utils::FunctionResourceHandler;pub use wrapper::HandlerMetadata;pub use wrapper::HandlerWrapper;pub use traits::*;
Modules§
- composite
- Composite handler pattern for handling multiple types of requests
- implementations
- Concrete handler implementations
- traits
- Handler traits for MCP operations
- utils
- Utility functions for creating handlers from closures
- wrapper
- Handler wrapper infrastructure for metadata and additional functionality
Type Aliases§
- Existence
Check Fn - Type alias for existence check functions to reduce complexity