pub struct FindFile { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Tool for FindFile
impl Tool for FindFile
fn name(&self) -> &str
fn description(&self) -> &str
fn input_schema(&self) -> Value
fn execute<'life0, 'async_trait>(
&'life0 self,
args: Value,
_ctx: Option<Arc<ToolContext>>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for FindFile
impl !RefUnwindSafe for FindFile
impl Send for FindFile
impl Sync for FindFile
impl Unpin for FindFile
impl UnsafeUnpin for FindFile
impl !UnwindSafe for FindFile
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