pub enum ErrorKind {
KeyConstruction,
ConfigResolution,
CacheRead,
CacheReadTimeout,
CacheWrite,
TrackedTtlClamped,
SerializationLoad,
SerializationDump,
Compression,
Invalidation,
Fallback,
}Expand description
Stable failure sites.
Variants§
KeyConstruction
The key selector failed or panicked, or the identity could not form a key.
ConfigResolution
The policy provider or resolution failed for the invocation, a layer leaf was invalid, or a recovery or shadow option was rejected.
CacheRead
A process-local read failed, or a remote read failed for a reason other than its deadline.
CacheReadTimeout
A remote read did not answer within its read budget.
CacheWrite
A process-local or remote write failed, or the write stamp left the safe-integer domain.
TrackedTtlClamped
A tracked write asked for retention above the one-hour physical cap and was clamped: a configuration signal, not a failure.
SerializationLoad
The codec failed or panicked while decoding a stored payload.
SerializationDump
The codec failed or panicked while encoding a value for the remote layer.
Compression
zstd compression failed while preparing a remote write.
Invalidation
An explicit invalidation failed, including one made without a remote adapter.
Fallback
The source failed, panicked or exceeded its deadline; reported
with in_fallback set.
Implementations§
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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.