pub struct NoCtxToolHandler<F> { /* private fields */ }Expand description
A tool handler without context, created by super::tool_fn.
Trait Implementations§
Source§impl<F> Debug for NoCtxToolHandler<F>
impl<F> Debug for NoCtxToolHandler<F>
Source§impl<F, Fut, O> ToolHandler for NoCtxToolHandler<F>
impl<F, Fut, O> ToolHandler for NoCtxToolHandler<F>
Source§fn definition(&self) -> ToolDefinition
fn definition(&self) -> ToolDefinition
Returns the tool’s definition (name, description, parameter schema).
Auto Trait Implementations§
impl<F> Freeze for NoCtxToolHandler<F>where
F: Freeze,
impl<F> !RefUnwindSafe for NoCtxToolHandler<F>
impl<F> Send for NoCtxToolHandler<F>where
F: Send,
impl<F> Sync for NoCtxToolHandler<F>where
F: Sync,
impl<F> Unpin for NoCtxToolHandler<F>where
F: Unpin,
impl<F> !UnwindSafe for NoCtxToolHandler<F>
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