Struct aws_runtime::retries::classifier::AwsErrorCodeClassifier
source · pub struct AwsErrorCodeClassifier;
Expand description
A retry classifier for determining if the response sent by an AWS service requires a retry.
Implementations§
source§impl AwsErrorCodeClassifier
impl AwsErrorCodeClassifier
sourcepub fn classify_error<E: ProvideErrorMetadata, R>(
&self,
error: &SdkError<E, R>
) -> Option<RetryReason>
pub fn classify_error<E: ProvideErrorMetadata, R>( &self, error: &SdkError<E, R> ) -> Option<RetryReason>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AwsErrorCodeClassifier
impl Send for AwsErrorCodeClassifier
impl Sync for AwsErrorCodeClassifier
impl Unpin for AwsErrorCodeClassifier
impl UnwindSafe for AwsErrorCodeClassifier
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