Trait bonsaidb::keystorage::s3::aws_sdk_s3::config::retry::ClassifyRetry      
pub trait ClassifyRetry: Send + Sync + Debug {
    // Required methods
    fn classify_retry(
        &self,
        ctx: &InterceptorContext<Input, Output, Error>
    ) -> Option<RetryReason>;
    fn name(&self) -> &'static str;
}Expand description
Classifies what kind of retry is needed for a given an InterceptorContext.
Required Methods§
fn classify_retry(
    &self,
    ctx: &InterceptorContext<Input, Output, Error>
) -> Option<RetryReason>
fn classify_retry( &self, ctx: &InterceptorContext<Input, Output, Error> ) -> 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.