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>
impl<E> ClassifyRetry for AwsErrorCodeClassifier<E>
Source§fn classify_retry(&self, ctx: &InterceptorContext) -> RetryAction
fn classify_retry(&self, ctx: &InterceptorContext) -> RetryAction
Run this classifier on the
InterceptorContext
to determine if the previous request
should be retried. Returns a RetryAction
.Source§fn priority(&self) -> RetryClassifierPriority
fn priority(&self) -> RetryClassifierPriority
The priority of this retry classifier. Read more
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> Freeze for AwsErrorCodeClassifier<E>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.