pub(crate) struct WalkDirOptions {
pub(crate) follow_links: bool,
pub(crate) follow_root_links: bool,
pub(crate) max_open: usize,
pub(crate) min_depth: usize,
pub(crate) max_depth: usize,
pub(crate) sorter: Option<Box<dyn FnMut(&DirEntry, &DirEntry) -> Ordering + Send + Sync + 'static>>,
pub(crate) contents_first: bool,
pub(crate) same_file_system: bool,
}
Fields§
§follow_links: bool
§follow_root_links: bool
§max_open: usize
§min_depth: usize
§max_depth: usize
§sorter: Option<Box<dyn FnMut(&DirEntry, &DirEntry) -> Ordering + Send + Sync + 'static>>
§contents_first: bool
§same_file_system: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WalkDirOptions
impl !RefUnwindSafe for WalkDirOptions
impl Send for WalkDirOptions
impl Sync for WalkDirOptions
impl Unpin for WalkDirOptions
impl !UnwindSafe for WalkDirOptions
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