pub enum MaintenanceJob {
PackHousekeeping {
repo_id: String,
},
Sweep,
}Expand description
The maintenance-queue payload vocabulary — what the enqueue leg lands and what the wave-7 worker dispatches on; additions extend the set.
Variants§
PackHousekeeping
The per-mutation housekeeping job the announce’s enqueue leg lands — the pack work the mutated repo now owes the maintenance worker (the wave-7 dispatch).
Sweep
The scheduled GC sweep firing — the maintenance chain’s
@every schedule payload (the chain’s consumer side is wave
7’s: schedule → queue → worker claim → leader TTL lock →
sweep dispatch, which needs a registered liveness source).
Trait Implementations§
Source§impl Clone for MaintenanceJob
impl Clone for MaintenanceJob
Source§impl Debug for MaintenanceJob
impl Debug for MaintenanceJob
Source§impl<'de> Deserialize<'de> for MaintenanceJob
impl<'de> Deserialize<'de> for MaintenanceJob
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MaintenanceJob
Source§impl PartialEq for MaintenanceJob
impl PartialEq for MaintenanceJob
Source§impl Serialize for MaintenanceJob
impl Serialize for MaintenanceJob
impl StructuralPartialEq for MaintenanceJob
Auto Trait Implementations§
impl Freeze for MaintenanceJob
impl RefUnwindSafe for MaintenanceJob
impl Send for MaintenanceJob
impl Sync for MaintenanceJob
impl Unpin for MaintenanceJob
impl UnsafeUnpin for MaintenanceJob
impl UnwindSafe for MaintenanceJob
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.