pub struct EditFile { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Tool for EditFile
impl Tool for EditFile
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 EditFile
impl !RefUnwindSafe for EditFile
impl Send for EditFile
impl Sync for EditFile
impl Unpin for EditFile
impl UnsafeUnpin for EditFile
impl !UnwindSafe for EditFile
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