pub struct BuiltinToolRegistry { /* private fields */ }Expand description
Registry of built-in tools (llm_version, llm_time).
Lifted out of llm-cli so the WASM and Python bindings can offer the
same builtins without pulling in CLI-only concerns. The version string
is taken at construction time so each caller reports its own crate
version (env!("CARGO_PKG_VERSION")).
Implementations§
Auto Trait Implementations§
impl Freeze for BuiltinToolRegistry
impl RefUnwindSafe for BuiltinToolRegistry
impl Send for BuiltinToolRegistry
impl Sync for BuiltinToolRegistry
impl Unpin for BuiltinToolRegistry
impl UnsafeUnpin for BuiltinToolRegistry
impl UnwindSafe for BuiltinToolRegistry
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