Struct dua::WalkOptions
source · [−]pub struct WalkOptions {
pub threads: usize,
pub byte_format: ByteFormat,
pub count_hard_links: bool,
pub apparent_size: bool,
pub sorting: TraversalSorting,
pub cross_filesystems: bool,
pub ignore_dirs: Vec<PathBuf>,
}Expand description
Configures a filesystem walk, including output and formatting options.
Fields
threads: usizeThe amount of threads to use. Refer to WalkDir::num_threads()
for more information.
byte_format: ByteFormatcount_hard_links: boolapparent_size: boolsorting: TraversalSortingcross_filesystems: boolignore_dirs: Vec<PathBuf>Trait Implementations
sourceimpl Clone for WalkOptions
impl Clone for WalkOptions
sourcefn clone(&self) -> WalkOptions
fn clone(&self) -> WalkOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for WalkOptions
impl Send for WalkOptions
impl Sync for WalkOptions
impl Unpin for WalkOptions
impl UnwindSafe for WalkOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more