pub enum RetryStopReason {
IneligibleOperation,
NonReplayableBody,
MutationRequiresIntent,
NonTransientResponse,
AttemptsExhausted,
CumulativeDelayExhausted,
ElapsedBudgetExhausted,
}Expand description
Fail-closed reason why no new attempt is admitted.
Variants§
IneligibleOperation
Provider metadata does not admit retry policy.
NonReplayableBody
The request body cannot be reproduced byte-for-byte.
MutationRequiresIntent
A state-changing operation lacks a fresh fingerprint-bound intent.
NonTransientResponse
The response status is not 429 or 5xx.
AttemptsExhausted
The total attempt bound is exhausted.
CumulativeDelayExhausted
The cumulative caller-requested delay bound is exhausted.
ElapsedBudgetExhausted
The monotonic elapsed-time bound is exhausted.
Trait Implementations§
Source§impl Clone for RetryStopReason
impl Clone for RetryStopReason
Source§fn clone(&self) -> RetryStopReason
fn clone(&self) -> RetryStopReason
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 RetryStopReason
Source§impl Debug for RetryStopReason
impl Debug for RetryStopReason
impl Eq for RetryStopReason
Source§impl PartialEq for RetryStopReason
impl PartialEq for RetryStopReason
impl StructuralPartialEq for RetryStopReason
Auto Trait Implementations§
impl Freeze for RetryStopReason
impl RefUnwindSafe for RetryStopReason
impl Send for RetryStopReason
impl Sync for RetryStopReason
impl Unpin for RetryStopReason
impl UnsafeUnpin for RetryStopReason
impl UnwindSafe for RetryStopReason
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