pub struct ListToolsHandler { /* private fields */ }
Expand description
Handler for the tools/list method
Implementations§
Source§impl ListToolsHandler
impl ListToolsHandler
pub fn new(registry: Arc<ToolRegistry>) -> Self
Trait Implementations§
Source§impl CommandHandler for ListToolsHandler
impl CommandHandler for ListToolsHandler
Auto Trait Implementations§
impl Freeze for ListToolsHandler
impl !RefUnwindSafe for ListToolsHandler
impl Send for ListToolsHandler
impl Sync for ListToolsHandler
impl Unpin for ListToolsHandler
impl !UnwindSafe for ListToolsHandler
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