pub enum ExecutionPermitError {
Show 15 variants
ScopeMismatch,
NotYetValid,
Expired,
ClockRollback,
AttemptInFlight,
RecoveryRequired,
ReconciliationRequired,
Spent,
AuthorityAlreadyMinted,
StaleGeneration,
FingerprintMismatch,
CredentialMismatch,
IdempotencyMismatch,
ReplayForbidden,
GenerationExhausted,
}Expand description
Permit authorization or lifecycle failure.
Variants§
ScopeMismatch
The plan scope does not match the permit type.
NotYetValid
The permit is not valid yet.
Expired
The permit has expired.
ClockRollback
Caller time moved backward.
AttemptInFlight
Another caller owns the only in-flight attempt.
RecoveryRequired
The permit needs explicit not-sent recovery.
ReconciliationRequired
The permit needs operation-specific reconciliation.
Spent
The authority or attempt budget is spent.
AuthorityAlreadyMinted
This fingerprint already minted its single direct authority.
StaleGeneration
Recovery or reconciliation belongs to another generation.
FingerprintMismatch
The supplied request fingerprint differs from the confirmed plan.
CredentialMismatch
Authenticated evidence belongs to another credential lifecycle.
IdempotencyMismatch
Reconciliation used a different idempotency identity.
ReplayForbidden
The selected replay policy forbids this transition.
GenerationExhausted
Atomic generation capacity is exhausted.
Trait Implementations§
Source§impl Clone for ExecutionPermitError
impl Clone for ExecutionPermitError
Source§fn clone(&self) -> ExecutionPermitError
fn clone(&self) -> ExecutionPermitError
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 ExecutionPermitError
Source§impl Debug for ExecutionPermitError
impl Debug for ExecutionPermitError
Source§impl Display for ExecutionPermitError
impl Display for ExecutionPermitError
impl Eq for ExecutionPermitError
Source§impl Error for ExecutionPermitError
impl Error for ExecutionPermitError
1.30.0 · 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()