pub struct WalkEntry { /* private fields */ }Implementations§
Source§impl WalkEntry
impl WalkEntry
pub fn path(&self) -> &Path
Sourcepub fn into_path(self) -> PathBuf
pub fn into_path(self) -> PathBuf
Consumes the entry and returns its owned path without cloning.
pub fn relative_path(&self) -> &Path
pub fn file_name(&self) -> &OsStr
pub const fn depth(&self) -> usize
pub const fn is_file(&self) -> bool
pub const fn is_dir(&self) -> bool
pub const fn is_symlink(&self) -> bool
pub const fn bytes(&self) -> Option<u64>
Sourcepub const fn version(&self) -> Option<FileVersion>
pub const fn version(&self) -> Option<FileVersion>
Snapshot evidence captured with file metadata, when requested.
pub const fn skip_reason(&self) -> Option<WalkSkipReason>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WalkEntry
impl RefUnwindSafe for WalkEntry
impl Send for WalkEntry
impl Sync for WalkEntry
impl Unpin for WalkEntry
impl UnsafeUnpin for WalkEntry
impl UnwindSafe for WalkEntry
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