pub enum MaterializationSafety {
PhysicalValidated,
CommitValidated,
ReplaySafe,
}Expand description
Validation tier a WAL has cleared — strictly increasing assurance.
PhysicalValidation < CommitValidation < ReplaySafe. The timeline reports the
highest tier reached; a page-size mismatch never even produces a timeline (it is a
hard stop at parse, surfaced as WalValidationError::PageSizeMismatch).
Variants§
PhysicalValidated
Header magic / format / page-size / salts / frame boundaries are well-formed, but no committed snapshot was found (nothing to replay).
CommitValidated
A last valid commit and committed frame ranges were established, but the read-only replay overlay was not (or could not be) built.
ReplaySafe
A read-only replay overlay to the last commit is available — safe to materialize without mutating either file.
Trait Implementations§
Source§impl Clone for MaterializationSafety
impl Clone for MaterializationSafety
Source§fn clone(&self) -> MaterializationSafety
fn clone(&self) -> MaterializationSafety
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MaterializationSafety
Source§impl Debug for MaterializationSafety
impl Debug for MaterializationSafety
impl Eq for MaterializationSafety
Source§impl Ord for MaterializationSafety
impl Ord for MaterializationSafety
Source§fn cmp(&self, other: &MaterializationSafety) -> Ordering
fn cmp(&self, other: &MaterializationSafety) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MaterializationSafety
impl PartialEq for MaterializationSafety
Source§impl PartialOrd for MaterializationSafety
impl PartialOrd for MaterializationSafety
impl StructuralPartialEq for MaterializationSafety
Auto Trait Implementations§
impl Freeze for MaterializationSafety
impl RefUnwindSafe for MaterializationSafety
impl Send for MaterializationSafety
impl Sync for MaterializationSafety
impl Unpin for MaterializationSafety
impl UnsafeUnpin for MaterializationSafety
impl UnwindSafe for MaterializationSafety
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