pub struct Housekeeping {
pub folded: usize,
pub unreadable: usize,
pub cache_files: usize,
pub cache_freed: u64,
}Expand description
What one janitor pass did, for the caller’s log line.
Fields§
§folded: usizeRuns folded (worktrees dropped).
unreadable: usizeUnused: automatic housekeeping never removes a run whose state it
cannot read (see fold_due), so this is always 0. Kept on the
struct because crate::daemon already reports it and a run that
changes the shape of this type is a bigger diff than leaving a field
that is honest about counting nothing.
cache_files: usizeFiles dropped from the shared cache.
cache_freed: u64Bytes freed from the shared cache.
Trait Implementations§
Source§impl Clone for Housekeeping
impl Clone for Housekeeping
Source§fn clone(&self) -> Housekeeping
fn clone(&self) -> Housekeeping
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Housekeeping
Source§impl Debug for Housekeeping
impl Debug for Housekeeping
Source§impl Default for Housekeeping
impl Default for Housekeeping
Source§fn default() -> Housekeeping
fn default() -> Housekeeping
Returns the “default value” for a type. Read more
impl Eq for Housekeeping
Source§impl PartialEq for Housekeeping
impl PartialEq for Housekeeping
impl StructuralPartialEq for Housekeeping
Auto Trait Implementations§
impl Freeze for Housekeeping
impl RefUnwindSafe for Housekeeping
impl Send for Housekeeping
impl Sync for Housekeeping
impl Unpin for Housekeeping
impl UnsafeUnpin for Housekeeping
impl UnwindSafe for Housekeeping
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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