#[non_exhaustive]pub enum CacheHealth {
Running,
Recovering,
Draining,
MissOnly,
Failed,
}Expand description
Current availability of the cache instance.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Running
Reads and mutations are operating normally.
Recovering
Background I/O timed out. New fills return overload while owned requests recover; reads and deletes retain their normal behavior.
Draining
New mutations are fenced while accepted work completes.
MissOnly
Reads fail open as misses and mutations report the terminal failure.
Failed
Lifecycle or worker failure prevents normal cache operation.
Trait Implementations§
Source§impl Clone for CacheHealth
impl Clone for CacheHealth
impl Copy for CacheHealth
Source§impl Debug for CacheHealth
impl Debug for CacheHealth
impl Eq for CacheHealth
Source§impl Hash for CacheHealth
impl Hash for CacheHealth
Source§impl PartialEq for CacheHealth
impl PartialEq for CacheHealth
impl StructuralPartialEq for CacheHealth
Auto Trait Implementations§
impl Forget for CacheHealth
impl Freeze for CacheHealth
impl Move for CacheHealth
impl RefUnwindSafe for CacheHealth
impl Send for CacheHealth
impl Sync for CacheHealth
impl Unpin for CacheHealth
impl UnsafeUnpin for CacheHealth
impl UnwindSafe for CacheHealth
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