pub struct McpServer<H>{
pub handler: Arc<H>,
pub config: ServerConfig,
pub resource_manager: Arc<ResourceManager>,
pub tool_manager: Arc<ToolManager>,
pub prompt_manager: Arc<PromptManager>,
pub logging_manager: Arc<Mutex<LoggingManager>>,
/* private fields */
}
Fields§
§handler: Arc<H>
§config: ServerConfig
§resource_manager: Arc<ResourceManager>
§tool_manager: Arc<ToolManager>
§prompt_manager: Arc<PromptManager>
§logging_manager: Arc<Mutex<LoggingManager>>
Implementations§
Auto Trait Implementations§
impl<H> Freeze for McpServer<H>
impl<H> !RefUnwindSafe for McpServer<H>
impl<H> Send for McpServer<H>
impl<H> Sync for McpServer<H>
impl<H> Unpin for McpServer<H>
impl<H> !UnwindSafe for McpServer<H>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more