pub struct NoTools;Trait Implementations§
Source§impl ToolSelector<NoTools> for NoToolSelector
impl ToolSelector<NoTools> for NoToolSelector
Source§impl Toolset for NoTools
impl Toolset for NoTools
type ToolCall = Infallible
type Selector = NoToolSelector
fn definitions() -> &'static [ToolDef]
fn parse_tool_call( metadata: ToolMetadata, ) -> Result<Self::ToolCall, ToolCallError>
fn definitions_for<I>(selectors: I) -> Vec<&'static ToolDef>where
I: IntoIterator<Item = Self::Selector>,
impl Copy for NoTools
Auto Trait Implementations§
impl Freeze for NoTools
impl RefUnwindSafe for NoTools
impl Send for NoTools
impl Sync for NoTools
impl Unpin for NoTools
impl UnsafeUnpin for NoTools
impl UnwindSafe for NoTools
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