#[non_exhaustive]pub enum OutboxAttemptError {
Show 16 variants
FenceTenantMismatch,
FenceRunMismatch,
FenceDeliveryMismatch,
StartBeforeOrigin,
StartOutsideDeliveryWindow,
ExpiryNotAfterStart,
ExpiryAfterDeliveryDeadline,
LeaseTooLong {
maximum_millis: i64,
actual_millis: i64,
},
CompletionBeforeStart,
CompletionOutsideFence,
ReconciliationUnsupported,
RetryDelayOutOfRange,
CompletionStartMismatch,
StartDigestMismatch,
CompletionDigestMismatch,
Integrity {
source: OutboxAttemptIntegrityError,
},
}Expand description
Invalid attempt fence, timing, completion, or checksum.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FenceTenantMismatch
Attempt fence crossed the delivery tenant boundary.
FenceRunMismatch
Attempt fence named another run.
FenceDeliveryMismatch
Attempt fence named another delivery.
StartBeforeOrigin
Attempt start preceded the atomic origin commit.
StartOutsideDeliveryWindow
Attempt start was at or after the delivery deadline.
ExpiryNotAfterStart
Attempt expiry was not strictly after start.
ExpiryAfterDeliveryDeadline
Attempt expiry exceeded the delivery deadline.
LeaseTooLong
Attempt lease exceeded the hard duration bound.
Fields
CompletionBeforeStart
Completion preceded its start.
CompletionOutsideFence
Completion occurred at or after the exclusive attempt expiry.
ReconciliationUnsupported
Duplicate-tolerant delivery cannot require ambiguity reconciliation.
RetryDelayOutOfRange
Safe retry delay could not be represented as a canonical timestamp.
CompletionStartMismatch
Completion joined to another physical start.
StartDigestMismatch
Persisted attempt-start checksum did not match its fields.
CompletionDigestMismatch
Persisted attempt-completion checksum did not match its fields.
Integrity
Canonical integrity material could not be serialized.
Fields
source: OutboxAttemptIntegrityErrorExact integrity failure.
Trait Implementations§
Source§impl Clone for OutboxAttemptError
impl Clone for OutboxAttemptError
Source§impl Debug for OutboxAttemptError
impl Debug for OutboxAttemptError
Source§impl Display for OutboxAttemptError
impl Display for OutboxAttemptError
impl Eq for OutboxAttemptError
Source§impl Error for OutboxAttemptError
impl Error for OutboxAttemptError
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()