pub struct StaticToolRegistry { /* private fields */ }Expand description
An immutable mapping from names to tools.
Construct via StaticToolRegistry::builder; once built, no tools can be added or
removed, ensuring that the schema order and get behavior remain stable.
Implementations§
Source§impl StaticToolRegistry
impl StaticToolRegistry
pub fn builder() -> StaticToolRegistryBuilder
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StaticToolRegistry
impl !UnwindSafe for StaticToolRegistry
impl Freeze for StaticToolRegistry
impl Send for StaticToolRegistry
impl Sync for StaticToolRegistry
impl Unpin for StaticToolRegistry
impl UnsafeUnpin for StaticToolRegistry
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