pub struct McpToolRegistry { /* private fields */ }Implementations§
Source§impl McpToolRegistry
impl McpToolRegistry
pub fn new(server_url: String) -> Self
pub async fn discover_tools(&self) -> AgentResult<Vec<Arc<dyn Tool>>>
Auto Trait Implementations§
impl Freeze for McpToolRegistry
impl !RefUnwindSafe for McpToolRegistry
impl Send for McpToolRegistry
impl Sync for McpToolRegistry
impl Unpin for McpToolRegistry
impl UnsafeUnpin for McpToolRegistry
impl !UnwindSafe for McpToolRegistry
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