pub struct McpInventory { /* private fields */ }Expand description
Read-only snapshot of MCP tool names visible to one agent.
Cheap to build, cheap to clone — just Vec<String> behind an Arc.
Built once per inject pass and threaded into the resolver.
Implementations§
Trait Implementations§
Source§impl Clone for McpInventory
impl Clone for McpInventory
Source§fn clone(&self) -> McpInventory
fn clone(&self) -> McpInventory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for McpInventory
impl Debug for McpInventory
Source§impl Default for McpInventory
impl Default for McpInventory
Source§fn default() -> McpInventory
fn default() -> McpInventory
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for McpInventory
impl RefUnwindSafe for McpInventory
impl Send for McpInventory
impl Sync for McpInventory
impl Unpin for McpInventory
impl UnsafeUnpin for McpInventory
impl UnwindSafe for McpInventory
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