pub enum DrainOutcome {
StorePublished,
StoreStale,
StoreErrored,
RemoveApplied,
RemoveErrored,
ClearApplied,
ClearErrored,
Abandoned,
}Expand description
Summary returned by the worker for one drained op. The writer uses it to maintain the stale-store / errors / abandoned counters.
Variants§
StorePublished
StoreStale
StoreErrored
RemoveApplied
RemoveErrored
ClearApplied
ClearErrored
Abandoned
Trait Implementations§
Source§impl Clone for DrainOutcome
impl Clone for DrainOutcome
Source§fn clone(&self) -> DrainOutcome
fn clone(&self) -> DrainOutcome
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 DrainOutcome
Source§impl Debug for DrainOutcome
impl Debug for DrainOutcome
impl Eq for DrainOutcome
Source§impl PartialEq for DrainOutcome
impl PartialEq for DrainOutcome
impl StructuralPartialEq for DrainOutcome
Auto Trait Implementations§
impl Freeze for DrainOutcome
impl RefUnwindSafe for DrainOutcome
impl Send for DrainOutcome
impl Sync for DrainOutcome
impl Unpin for DrainOutcome
impl UnsafeUnpin for DrainOutcome
impl UnwindSafe for DrainOutcome
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<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