pub struct GrepTool { /* private fields */ }Expand description
Workspace-confined bounded regular-expression search.
Implementations§
Trait Implementations§
Source§impl ToolExecutor for GrepTool
impl ToolExecutor for GrepTool
Source§fn execute(
&self,
invocation: ValidatedToolInvocation,
cancellation: CancellationScope,
) -> BoxToolExecutionStream
fn execute( &self, invocation: ValidatedToolInvocation, cancellation: CancellationScope, ) -> BoxToolExecutionStream
Creates a lazy execution stream owned by the caller.
Source§fn preview(
&self,
_invocation: &ValidatedToolInvocation,
) -> Option<ToolPresentation>
fn preview( &self, _invocation: &ValidatedToolInvocation, ) -> Option<ToolPresentation>
Produces an optional, non-durable preview for one validated invocation. Read more
Auto Trait Implementations§
impl Freeze for GrepTool
impl RefUnwindSafe for GrepTool
impl Send for GrepTool
impl Sync for GrepTool
impl Unpin for GrepTool
impl UnsafeUnpin for GrepTool
impl UnwindSafe for GrepTool
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