pub struct DescribeTool { /* private fields */ }Expand description
The tool itself; it holds the catalog rather than a copy, as read
does, so what it answers is what the run was admitted.
Implementations§
Trait Implementations§
Source§impl Tool for DescribeTool
impl Tool for DescribeTool
fn meta(&self) -> &ToolMeta
Source§fn invoke(&self, call: &ToolCall) -> Result<ToolOutcome, AxError>
fn invoke(&self, call: &ToolCall) -> Result<ToolOutcome, AxError>
Fail-closed identity: a call whose name differs from
meta().name
must return E_INVALID_ARGS, never route silently.Auto Trait Implementations§
impl Freeze for DescribeTool
impl RefUnwindSafe for DescribeTool
impl Send for DescribeTool
impl Sync for DescribeTool
impl Unpin for DescribeTool
impl UnsafeUnpin for DescribeTool
impl UnwindSafe for DescribeTool
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