#[non_exhaustive]pub enum RetryStopReason {
Completed,
NotRetryable,
ClassifierStopped,
AttemptsExhausted,
Disabled,
UnsafeToReplay,
Cancelled,
TimedOut,
Shutdown,
PolicyFailed,
}Expand description
Why an operation stopped scheduling attempts.
A delivered response can still represent a business failure; these reasons describe SDK scheduling, not the success of an application side effect.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Completed
NotRetryable
ClassifierStopped
AttemptsExhausted
Disabled
UnsafeToReplay
Cancelled
TimedOut
Shutdown
PolicyFailed
Trait Implementations§
Source§impl Clone for RetryStopReason
impl Clone for RetryStopReason
impl 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