pub enum Phase2JobClaimOutcome {
Claimed {
ownership_token: String,
input_watermark: i64,
},
SkippedRetryUnavailable,
SkippedCooldown,
SkippedRunning,
}Expand description
Result of trying to claim a phase-2 consolidation job.
Variants§
Claimed
The caller owns the global lock and may inspect the memory workspace.
The global job is in retry backoff.
SkippedCooldown
The global job completed recently enough that consolidation is cooling down.
SkippedRunning
Another worker currently owns a fresh global consolidation lease.
Trait Implementations§
Source§impl Clone for Phase2JobClaimOutcome
impl Clone for Phase2JobClaimOutcome
Source§fn clone(&self) -> Phase2JobClaimOutcome
fn clone(&self) -> Phase2JobClaimOutcome
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 moreSource§impl Debug for Phase2JobClaimOutcome
impl Debug for Phase2JobClaimOutcome
impl Eq for Phase2JobClaimOutcome
Source§impl PartialEq for Phase2JobClaimOutcome
impl PartialEq for Phase2JobClaimOutcome
impl StructuralPartialEq for Phase2JobClaimOutcome
Auto Trait Implementations§
impl Freeze for Phase2JobClaimOutcome
impl RefUnwindSafe for Phase2JobClaimOutcome
impl Send for Phase2JobClaimOutcome
impl Sync for Phase2JobClaimOutcome
impl Unpin for Phase2JobClaimOutcome
impl UnsafeUnpin for Phase2JobClaimOutcome
impl UnwindSafe for Phase2JobClaimOutcome
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
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