Struct aws_runtime::retries::classifier::AwsErrorCodeClassifier
source · pub struct AwsErrorCodeClassifier<E> { /* private fields */ }
Expand description
A retry classifier for determining if the response sent by an AWS service requires a retry.
Implementations§
source§impl<E> AwsErrorCodeClassifier<E>
impl<E> AwsErrorCodeClassifier<E>
Trait Implementations§
source§impl<E> ClassifyRetry for AwsErrorCodeClassifier<E>where
E: StdError + ProvideErrorMetadata + Send + Sync + 'static,
impl<E> ClassifyRetry for AwsErrorCodeClassifier<E>where E: StdError + ProvideErrorMetadata + Send + Sync + 'static,
source§fn classify_retry(&self, ctx: &InterceptorContext) -> Option<RetryReason>
fn classify_retry(&self, ctx: &InterceptorContext) -> Option<RetryReason>
Run this classifier against an error to determine if it should be retried. Returns
Some(RetryKind)
if the error should be retried; Otherwise returns None
.source§impl<E: Debug> Debug for AwsErrorCodeClassifier<E>
impl<E: Debug> Debug for AwsErrorCodeClassifier<E>
source§impl<E: Default> Default for AwsErrorCodeClassifier<E>
impl<E: Default> Default for AwsErrorCodeClassifier<E>
source§fn default() -> AwsErrorCodeClassifier<E>
fn default() -> AwsErrorCodeClassifier<E>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<E> RefUnwindSafe for AwsErrorCodeClassifier<E>where E: RefUnwindSafe,
impl<E> Send for AwsErrorCodeClassifier<E>where E: Send,
impl<E> Sync for AwsErrorCodeClassifier<E>where E: Sync,
impl<E> Unpin for AwsErrorCodeClassifier<E>where E: Unpin,
impl<E> UnwindSafe for AwsErrorCodeClassifier<E>where E: UnwindSafe,
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