pub struct FileScanner { /* private fields */ }Implementations§
Source§impl FileScanner
impl FileScanner
pub fn new() -> Self
pub fn with_ignore_patterns(ignore_patterns: Vec<String>) -> Self
pub fn with_max_size(max_size: u64) -> Self
pub async fn scan_directory(&self, dir_path: &Path) -> Result<Vec<FileInfo>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileScanner
impl RefUnwindSafe for FileScanner
impl Send for FileScanner
impl Sync for FileScanner
impl Unpin for FileScanner
impl UnsafeUnpin for FileScanner
impl UnwindSafe for FileScanner
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