pub struct DurabilityCapabilities {
pub crash_recovery: bool,
pub at_rest_encryption: bool,
pub point_in_time_recovery: bool,
pub aries_checkpoint: bool,
pub wal_fencing: bool,
}Expand description
Durability features actually wired into THIS build’s live storage path.
Prose like “production-grade” must not be read as implying features that are
quarantined behind the empty, non-default experimental feature and
unreferenced by the live write/recovery path. Query this matrix instead of
trusting documentation strings.
Fields§
§crash_recovery: boolCrash-consistent WAL recovery (txn_wal / RecoveryStats / durability_contract). Live.
at_rest_encryption: boolAt-rest encryption (AES-256-GCM-SIV envelope). Wired into the live WAL path
(Task 3B): inactive by default, active per-database when a key is configured.
The build-level durability_capabilities() reports the DEFAULT (false);
query DurableStorage::durability_capabilities() for the live per-instance
state.
point_in_time_recovery: boolPoint-in-time recovery via WAL archiving. pitr module — substrate landing
incrementally (Task 3B); reported true per-instance once archiving is active.
aries_checkpoint: boolARIES-style checkpointing. aries_recovery / checkpoint modules, quarantined/unwired.
wal_fencing: boolEpoch-based WAL fencing (split-brain detection). wal_fencing module, quarantined/unwired.
Trait Implementations§
Source§impl Clone for DurabilityCapabilities
impl Clone for DurabilityCapabilities
Source§fn clone(&self) -> DurabilityCapabilities
fn clone(&self) -> DurabilityCapabilities
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 DurabilityCapabilities
Source§impl Debug for DurabilityCapabilities
impl Debug for DurabilityCapabilities
impl Eq for DurabilityCapabilities
Source§impl PartialEq for DurabilityCapabilities
impl PartialEq for DurabilityCapabilities
Source§fn eq(&self, other: &DurabilityCapabilities) -> bool
fn eq(&self, other: &DurabilityCapabilities) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DurabilityCapabilities
Auto Trait Implementations§
impl Freeze for DurabilityCapabilities
impl RefUnwindSafe for DurabilityCapabilities
impl Send for DurabilityCapabilities
impl Sync for DurabilityCapabilities
impl Unpin for DurabilityCapabilities
impl UnsafeUnpin for DurabilityCapabilities
impl UnwindSafe for DurabilityCapabilities
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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