#[non_exhaustive]pub enum NodeAttemptError {
Show 19 variants
WorkerAttemptReused,
FenceTenantMismatch,
FenceRunMismatch,
JournalTenantMismatch,
JournalRunMismatch,
StartJournalNotAfterBase,
StartClockRegression,
CompletionJournalNotAfterStart,
CompletionClockRegression,
ResultActivationMismatch,
ResultFenceMismatch,
ResultJournalMismatch,
FailureEventMismatch,
ReconciliationUnsupported,
CompletionStartMismatch,
ActivationDigestMismatch,
StartDigestMismatch,
CompletionDigestMismatch,
Integrity {
source: NodeAttemptIntegrityError,
},
}Expand description
Invalid node-attempt scope, causation, lifecycle, or integrity material.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
WorkerAttemptReused
Node physical attempt reused the worker-run attempt identity.
FenceTenantMismatch
Worker fence crossed the activation tenant boundary.
FenceRunMismatch
Worker fence named another run.
JournalTenantMismatch
Journal head crossed the activation tenant boundary.
JournalRunMismatch
Journal head named another run.
StartJournalNotAfterBase
Start journal did not strictly follow the base checkpoint.
StartClockRegression
Start durable time preceded the base checkpoint.
CompletionJournalNotAfterStart
Completion journal did not strictly follow its start.
CompletionClockRegression
Completion durable time preceded its start.
ResultActivationMismatch
Successful result belonged to another logical activation.
ResultFenceMismatch
Successful result was committed by another worker fence.
ResultJournalMismatch
Successful result and attempt completion did not share one journal event.
FailureEventMismatch
Failed attempt did not name its completion event as the direct cause.
ReconciliationUnsupported
Pure node execution cannot own an ambiguous external side effect.
CompletionStartMismatch
Completion joined to another start record.
ActivationDigestMismatch
Persisted activation checksum did not match the activation.
StartDigestMismatch
Persisted start checksum did not match the start fields.
CompletionDigestMismatch
Persisted completion checksum did not match completion fields.
Integrity
Canonical integrity material could not be serialized.
Fields
source: NodeAttemptIntegrityErrorExact integrity failure.
Trait Implementations§
Source§impl Clone for NodeAttemptError
impl Clone for NodeAttemptError
Source§impl Debug for NodeAttemptError
impl Debug for NodeAttemptError
Source§impl Display for NodeAttemptError
impl Display for NodeAttemptError
impl Eq for NodeAttemptError
Source§impl Error for NodeAttemptError
impl Error for NodeAttemptError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()