pub enum WorkerEvent {
Sweep(SweepVerdict),
PackHousekeeping(usize),
}Expand description
What the maintenance worker did — the observation seam (the
logged-as-data posture: the outcome carriers surface here, no
tracing dependency exists anywhere). A consumer of
MaintenanceChain::run sees every executed or skipped job.
Variants§
Sweep(SweepVerdict)
A MaintenanceJob::Sweep job executed — the verdict below.
PackHousekeeping(usize)
A MaintenanceJob::PackHousekeeping job executed — the
released count (PackCache::release_all).
Trait Implementations§
Source§impl Clone for WorkerEvent
impl Clone for WorkerEvent
Source§impl Debug for WorkerEvent
impl Debug for WorkerEvent
impl Eq for WorkerEvent
Source§impl PartialEq for WorkerEvent
impl PartialEq for WorkerEvent
impl StructuralPartialEq for WorkerEvent
Auto Trait Implementations§
impl Freeze for WorkerEvent
impl RefUnwindSafe for WorkerEvent
impl Send for WorkerEvent
impl Sync for WorkerEvent
impl Unpin for WorkerEvent
impl UnsafeUnpin for WorkerEvent
impl UnwindSafe for WorkerEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.