pub struct FsUsage {
pub total_bytes: u64,
pub file_count: u64,
pub dir_count: u64,
}Expand description
Current filesystem usage statistics.
Returned by FileSystem::usage().
Fields§
§total_bytes: u64Total bytes used by all files.
file_count: u64Number of files (not including directories).
dir_count: u64Number of directories.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FsUsage
impl RefUnwindSafe for FsUsage
impl Send for FsUsage
impl Sync for FsUsage
impl Unpin for FsUsage
impl UnwindSafe for FsUsage
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