pub struct LsTool { /* private fields */ }Expand description
Workspace-confined bounded directory listing.
Implementations§
Trait Implementations§
Source§impl ToolExecutor for LsTool
impl ToolExecutor for LsTool
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 LsTool
impl RefUnwindSafe for LsTool
impl Send for LsTool
impl Sync for LsTool
impl Unpin for LsTool
impl UnsafeUnpin for LsTool
impl UnwindSafe for LsTool
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