pub struct PatchToolInvoker;Expand description
Patch tool invoker
Invokes the patch tool to apply unified diff patches to files.
Trait Implementations§
Source§impl ToolInvoker for PatchToolInvoker
impl ToolInvoker for PatchToolInvoker
Source§fn invoke<'life0, 'async_trait>(
&'life0 self,
input: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn invoke<'life0, 'async_trait>(
&'life0 self,
input: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Invoke the tool with the given input Read more
Source§fn metadata(&self) -> ToolMetadata
fn metadata(&self) -> ToolMetadata
Get metadata about this tool
Auto Trait Implementations§
impl Freeze for PatchToolInvoker
impl RefUnwindSafe for PatchToolInvoker
impl Send for PatchToolInvoker
impl Sync for PatchToolInvoker
impl Unpin for PatchToolInvoker
impl UnwindSafe for PatchToolInvoker
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