#[non_exhaustive]pub enum OutboxAttemptHistoryError {
AttemptLimitExceeded,
DeliveryMismatch,
AttemptIdReused {
attempt_id: AttemptId,
},
FirstEpochInvalid {
actual: FencingEpoch,
},
EpochNotSuccessor,
ClockRegression,
LiveAttemptSuperseded,
PreviousAttemptAcknowledged,
RetryNotAuthorized,
RetryDelayNotElapsed {
eligible_at: Timestamp,
started_at: Timestamp,
},
RetryDelayOutOfRange,
ObservationClockRegression {
latest_at: Timestamp,
observed_at: Timestamp,
},
}Expand description
Invalid physical-attempt history for one logical delivery.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AttemptLimitExceeded
More than the bounded number of attempts was supplied.
DeliveryMismatch
An attempt belonged to another logical delivery.
AttemptIdReused
A physical attempt identity was used twice.
FirstEpochInvalid
First attempt did not use fencing epoch one.
Fields
actual: FencingEpochRejected first epoch.
EpochNotSuccessor
A successor did not use the exact next fencing epoch.
ClockRegression
A successor start clock regressed behind prior durable evidence.
LiveAttemptSuperseded
An unfinished attempt was replaced before its fixed lease expired.
PreviousAttemptAcknowledged
An acknowledged delivery was attempted again.
RetryNotAuthorized
Failure evidence did not authorize another automatic attempt.
RetryDelayNotElapsed
A successor preceded the explicit safe-after delay.
Fields
RetryDelayOutOfRange
Safe-after timestamp could not be represented.
ObservationClockRegression
A status observation preceded already verified durable evidence.
Trait Implementations§
Source§impl Clone for OutboxAttemptHistoryError
impl Clone for OutboxAttemptHistoryError
Source§impl Debug for OutboxAttemptHistoryError
impl Debug for OutboxAttemptHistoryError
Source§impl Display for OutboxAttemptHistoryError
impl Display for OutboxAttemptHistoryError
impl Eq for OutboxAttemptHistoryError
Source§impl Error for OutboxAttemptHistoryError
impl Error for OutboxAttemptHistoryError
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()