pub struct Freeing {
pub path: PathBuf,
pub bytes: u64,
pub entries: u64,
}Expand description
How far into one target a sweep has got.
Fields§
§path: PathBufThe target.
bytes: u64Allocated bytes given back so far, counting a hard-linked file once — the same
accounting Removed::bytes uses, because they are the same running total read at
different moments.
Cumulative, never a delta. Each report supersedes the last for this path, so a
consumer that coalesces two of them loses nothing, and one that keeps the latest per
target cannot double-count however the pool interleaves them. It is also what makes
reconciling against the final Removal exact rather than approximate: the last word
on a target is a total, not a correction.
entries: u64Entries unlinked so far.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Freeing
impl RefUnwindSafe for Freeing
impl Send for Freeing
impl Sync for Freeing
impl Unpin for Freeing
impl UnsafeUnpin for Freeing
impl UnwindSafe for Freeing
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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