pub struct ApplyPatchPreviewTool<P> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<P> Tool for ApplyPatchPreviewTool<P>where
P: ApplyPatchPreviewPort + 'static,
impl<P> Tool for ApplyPatchPreviewTool<P>where
P: ApplyPatchPreviewPort + 'static,
fn descriptor(&self) -> &ToolDescriptor
fn invoke<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 ToolCtx,
call: &'life2 ToolCall,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl<P> !RefUnwindSafe for ApplyPatchPreviewTool<P>
impl<P> !UnwindSafe for ApplyPatchPreviewTool<P>
impl<P> Freeze for ApplyPatchPreviewTool<P>
impl<P> Send for ApplyPatchPreviewTool<P>
impl<P> Sync for ApplyPatchPreviewTool<P>
impl<P> Unpin for ApplyPatchPreviewTool<P>
impl<P> UnsafeUnpin for ApplyPatchPreviewTool<P>
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