pub struct Git;Expand description
Git tool: version control operations via git2-rs.
Trait Implementations§
Source§impl Tool for Git
impl Tool for Git
Source§fn schema(&self) -> ToolSchema
fn schema(&self) -> ToolSchema
Get the tool’s schema.
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
args: ToolArgs,
ctx: &'life1 mut dyn ToolCtx,
) -> Pin<Box<dyn Future<Output = ExecResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
args: ToolArgs,
ctx: &'life1 mut dyn ToolCtx,
) -> Pin<Box<dyn Future<Output = ExecResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute the tool with the given arguments and context.
Auto Trait Implementations§
impl Freeze for Git
impl RefUnwindSafe for Git
impl Send for Git
impl Sync for Git
impl Unpin for Git
impl UnsafeUnpin for Git
impl UnwindSafe for Git
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