pub struct DuEntry {
pub size: u64,
pub path: PathBuf,
pub mtime: Option<i64>,
}Expand description
A single entry produced by du traversal.
Fields§
§size: u64Size in bytes (or inode count if inodes mode).
path: PathBufPath of the entry.
mtime: Option<i64>Modification time (seconds since epoch), if available.
Auto Trait Implementations§
impl Freeze for DuEntry
impl RefUnwindSafe for DuEntry
impl Send for DuEntry
impl Sync for DuEntry
impl Unpin for DuEntry
impl UnsafeUnpin for DuEntry
impl UnwindSafe for DuEntry
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more