pub struct DirEntry { /* private fields */ }Expand description
A directory entry returned by WalkDir.
Each entry provides a path along with cached metadata to help avoid redundant system calls. However, due to possible concurrent file access, the cached metadata may degrade in validity over time.
Note that the metadata does not follow symlinks.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirEntry
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnsafeUnpin for DirEntry
impl UnwindSafe for DirEntry
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