pub struct Usage {
pub bytes: u64,
pub apparent_bytes: u64,
pub files: u64,
pub dirs: u64,
pub unreadable: u64,
}Expand description
What a directory holds.
Fields§
§bytes: u64Space allocated on disk.
apparent_bytes: u64The sum of the entries’ lengths.
files: u64Entries that are not directories.
dirs: u64Directories, the measured one included.
unreadable: u64Entries that could not be examined, when those are skipped.
Trait Implementations§
impl Copy for Usage
impl Eq for Usage
impl StructuralPartialEq for Usage
Auto Trait Implementations§
impl Forget for Usage
impl Freeze for Usage
impl Move for Usage
impl RefUnwindSafe for Usage
impl Send for Usage
impl Sync for Usage
impl Unpin for Usage
impl UnsafeUnpin for Usage
impl UnwindSafe for Usage
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