pub struct ListFilesTool { /* private fields */ }Expand description
Tool for listing files in a directory (non-recursive).
Implementations§
Source§impl ListFilesTool
impl ListFilesTool
pub fn new(fs: FilesystemGateway) -> Self
Trait Implementations§
Source§impl Clone for ListFilesTool
impl Clone for ListFilesTool
Source§fn clone(&self) -> ListFilesTool
fn clone(&self) -> ListFilesTool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ListFilesTool
impl RefUnwindSafe for ListFilesTool
impl Send for ListFilesTool
impl Sync for ListFilesTool
impl Unpin for ListFilesTool
impl UnwindSafe for ListFilesTool
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