pub enum SweepVerdict {
Report(SweepReport),
LockedOut,
Failed(String),
}Expand description
A sweep job’s outcome, as data (substrate.md §GC — the chain never turns a sweep outcome into an error).
Variants§
Report(SweepReport)
The store ran the sweep and reported — the alkblobs::SweepReport
carries stages, deletes, aborts (an aborted sweep is a ran
sweep whose cause is carried; the report is the outcome
carrier).
LockedOut
The leader lock was held elsewhere: a skip + short retry — a
value, not an error (the cross-process exclusion doing its
job; the job goes back to pending for
LOCKED_OUT_RETRY_SECS).
Failed(String)
A substrate-level sweep failure (the store’s Err): the
string is the error’s display for the data carrier; the job
retries on the queue’s curve (at-least-once; the attempt
budget dead-letters it — observable via get_job).
Trait Implementations§
Source§impl Clone for SweepVerdict
impl Clone for SweepVerdict
Source§impl Debug for SweepVerdict
impl Debug for SweepVerdict
impl Eq for SweepVerdict
Source§impl PartialEq for SweepVerdict
impl PartialEq for SweepVerdict
impl StructuralPartialEq for SweepVerdict
Auto Trait Implementations§
impl Freeze for SweepVerdict
impl RefUnwindSafe for SweepVerdict
impl Send for SweepVerdict
impl Sync for SweepVerdict
impl Unpin for SweepVerdict
impl UnsafeUnpin for SweepVerdict
impl UnwindSafe for SweepVerdict
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.