Enum aws_smithy_runtime_api::client::retries::RetryReason
source · #[non_exhaustive]pub enum RetryReason {
Error(ErrorKind),
Explicit(Duration),
}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.
Trait Implementations§
source§impl Debug for RetryReason
impl Debug for RetryReason
source§impl PartialEq<RetryReason> for RetryReason
impl PartialEq<RetryReason> for RetryReason
source§fn eq(&self, other: &RetryReason) -> bool
fn eq(&self, other: &RetryReason) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RetryReason
impl StructuralEq for RetryReason
impl StructuralPartialEq for RetryReason
Auto Trait Implementations§
impl RefUnwindSafe for RetryReason
impl Send for RetryReason
impl Sync for RetryReason
impl Unpin for RetryReason
impl UnwindSafe for RetryReason
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