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