pub enum IntegrityStatus {
Healthy,
Degraded,
Corrupted,
}Expand description
Integrity status levels
Only two states are PRODUCED: the integrity check delegates to the authoritative
verifier verify::verify_sstable (issue #1283), which reports either zero
findings (Healthy) or one-or-more findings (Corrupted). The former Degraded
state was driven by a checksum_mismatches counter that was never incremented —
it was unreachable dead code. Degraded is retained as a deprecated variant for
API compatibility but is NEVER returned by perform_integrity_check.
Variants§
Healthy
File is healthy (the verifier reported no findings)
Degraded
consolidated integrity check never produces Degraded; only Healthy|Corrupted (#1283)
File has minor issues but is readable.
Deprecated (issue #1283): the consolidated integrity check never produces
this status — it projects verify::verify_sstable findings onto exactly
Healthy (no findings) or Corrupted (≥1 finding). Retained for API
compatibility only.
Corrupted
File has corruption (the verifier reported at least one finding)
Trait Implementations§
Source§impl Clone for IntegrityStatus
impl Clone for IntegrityStatus
Source§fn clone(&self) -> IntegrityStatus
fn clone(&self) -> IntegrityStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IntegrityStatus
impl Debug for IntegrityStatus
impl Eq for IntegrityStatus
Source§impl PartialEq for IntegrityStatus
impl PartialEq for IntegrityStatus
impl StructuralPartialEq for IntegrityStatus
Auto Trait Implementations§
impl Freeze for IntegrityStatus
impl RefUnwindSafe for IntegrityStatus
impl Send for IntegrityStatus
impl Sync for IntegrityStatus
impl Unpin for IntegrityStatus
impl UnsafeUnpin for IntegrityStatus
impl UnwindSafe for IntegrityStatus
Blanket Implementations§
impl<T> Allocation for T
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
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
key and return true if they are equal.