pub struct VolumeUsage {
pub total: u64,
pub free: u64,
}Expand description
Free and total bytes on the volume holding a path.
This is the ground truth a reclaim is ultimately graded against: predicted
bytes versus the actual statvfs delta. Expect the two to differ — on APFS
a container shares free space across volumes, and snapshots can hold deleted
bytes for hours.
Fields§
§total: u64§free: u64Implementations§
Source§impl VolumeUsage
impl VolumeUsage
Trait Implementations§
Source§impl Clone for VolumeUsage
impl Clone for VolumeUsage
impl Copy for VolumeUsage
Source§impl Debug for VolumeUsage
impl Debug for VolumeUsage
impl Eq for VolumeUsage
Source§impl PartialEq for VolumeUsage
impl PartialEq for VolumeUsage
impl StructuralPartialEq for VolumeUsage
Auto Trait Implementations§
impl Freeze for VolumeUsage
impl RefUnwindSafe for VolumeUsage
impl Send for VolumeUsage
impl Sync for VolumeUsage
impl Unpin for VolumeUsage
impl UnsafeUnpin for VolumeUsage
impl UnwindSafe for VolumeUsage
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