pub enum ShadowOutcome {
Show 13 variants
Match,
Mismatch,
Superseded,
Filled,
FillFenced,
FillError,
RedisError,
SourceError,
DeserializationError,
ComparisonError,
ConfirmationError,
Timeout,
Dropped,
}Expand description
Terminal outcomes of sampled shadow validation.
Variants§
Match
The cached and source values compared equal.
Mismatch
They differed, and a confirmation read found the stored payload unchanged.
Superseded
They differed, but the stored payload changed or disappeared before confirmation.
Filled
A clean shadow miss was populated.
FillFenced
A tracked fill was withheld because its stamp did not exceed the watermark observed by the initial read.
FillError
Preparing (encoding, compression) or writing a clean-miss fill failed.
RedisError
The initial detached remote read failed, including by deadline.
SourceError
The source-of-truth read failed.
DeserializationError
The retained payload could not be decoded for comparison.
ComparisonError
The comparator returned an error or panicked.
ConfirmationError
The confirmation remote read failed.
Timeout
The shadow deadline expired before a verdict.
Dropped
Per-key deduplication or the instance’s in-flight cap rejected the job before it started.
Implementations§
Trait Implementations§
Source§impl Clone for ShadowOutcome
impl Clone for ShadowOutcome
Source§fn clone(&self) -> ShadowOutcome
fn clone(&self) -> ShadowOutcome
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ShadowOutcome
Source§impl Debug for ShadowOutcome
impl Debug for ShadowOutcome
Source§impl Display for ShadowOutcome
impl Display for ShadowOutcome
impl Eq for ShadowOutcome
Source§impl Hash for ShadowOutcome
impl Hash for ShadowOutcome
Source§impl PartialEq for ShadowOutcome
impl PartialEq for ShadowOutcome
Source§fn eq(&self, other: &ShadowOutcome) -> bool
fn eq(&self, other: &ShadowOutcome) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShadowOutcome
Auto Trait Implementations§
impl Freeze for ShadowOutcome
impl RefUnwindSafe for ShadowOutcome
impl Send for ShadowOutcome
impl Sync for ShadowOutcome
impl Unpin for ShadowOutcome
impl UnsafeUnpin for ShadowOutcome
impl UnwindSafe for ShadowOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.