pub struct DiskStats {
pub total_bytes: u64,
pub available_bytes: u64,
pub used_bytes: u64,
pub checks_performed: u64,
pub soft_limit_warnings: u64,
pub hard_limit_exceeded: bool,
pub estimated_bytes_written: u64,
}Expand description
Disk space usage statistics.
Fields§
§total_bytes: u64Total disk space in bytes
available_bytes: u64Available disk space in bytes
used_bytes: u64Used disk space in bytes
checks_performed: u64Number of disk space checks performed
soft_limit_warnings: u64Number of soft limit warnings
hard_limit_exceeded: boolWhether hard limit was ever exceeded
estimated_bytes_written: u64Estimated bytes written this session
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskStats
impl RefUnwindSafe for DiskStats
impl Send for DiskStats
impl Sync for DiskStats
impl Unpin for DiskStats
impl UnwindSafe for DiskStats
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