Trait aws_sdk_managedblockchain::config::retry::ClassifyRetry   
source · 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§
sourcefn 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.