#[non_exhaustive]pub enum FaultPoint {
PlanSynced,
StageSynced,
Revalidated,
CommitStatePersisted,
IntentSynced(u32),
OperationApplied(u32),
DoneSynced(u32),
OwnershipMarkersCleared,
Verified,
CommitMarkerSynced,
CommittedStatePersisted,
}Expand description
Deterministic crash boundary exposed to fault-injection tests.
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.
PlanSynced
The immutable plan and empty journal are durable.
StageSynced
All replacement content and quarantine directories are durable.
Revalidated
Dependency-only revalidation completed successfully.
CommitStatePersisted
The transaction entered Committing durably.
IntentSynced(u32)
Operation n’s intent record is durable.
OperationApplied(u32)
Operation n changed the host but lacks a completion record.
DoneSynced(u32)
Operation n and its ownership witness are durable.
OwnershipMarkersCleared
Temporary directory ownership markers were durably removed.
Verified
Every final diff path passed content and metadata verification.
CommitMarkerSynced
The durable final-state marker was synchronized.
CommittedStatePersisted
The transaction state became Committed.
Trait Implementations§
Source§impl Clone for FaultPoint
impl Clone for FaultPoint
Source§fn clone(&self) -> FaultPoint
fn clone(&self) -> FaultPoint
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 FaultPoint
Source§impl Debug for FaultPoint
impl Debug for FaultPoint
impl Eq for FaultPoint
Source§impl Hash for FaultPoint
impl Hash for FaultPoint
Source§impl PartialEq for FaultPoint
impl PartialEq for FaultPoint
impl StructuralPartialEq for FaultPoint
Auto Trait Implementations§
impl Freeze for FaultPoint
impl RefUnwindSafe for FaultPoint
impl Send for FaultPoint
impl Sync for FaultPoint
impl Unpin for FaultPoint
impl UnsafeUnpin for FaultPoint
impl UnwindSafe for FaultPoint
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