pub struct GitStatusTool;Expand description
Model-visible adapter that requests read-only git status.
Trait Implementations§
Source§impl Clone for GitStatusTool
impl Clone for GitStatusTool
impl Copy for GitStatusTool
Source§impl Debug for GitStatusTool
impl Debug for GitStatusTool
Source§impl Default for GitStatusTool
impl Default for GitStatusTool
Source§impl Tool for GitStatusTool
impl Tool for GitStatusTool
Source§fn schema(&self) -> ToolSchema
fn schema(&self) -> ToolSchema
Model perspective: this tool’s definition.
Source§fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
arguments: Value,
context: ToolContext<'life1>,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
arguments: Value,
context: ToolContext<'life1>,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execution perspective: run this tool. Read more
Auto Trait Implementations§
impl Freeze for GitStatusTool
impl RefUnwindSafe for GitStatusTool
impl Send for GitStatusTool
impl Sync for GitStatusTool
impl Unpin for GitStatusTool
impl UnsafeUnpin for GitStatusTool
impl UnwindSafe for GitStatusTool
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