aws_smithy_runtime::client::retries::classifiers

Function run_classifiers_on_ctx

source
pub fn run_classifiers_on_ctx(
    classifiers: impl Iterator<Item = SharedRetryClassifier>,
    ctx: &InterceptorContext,
) -> RetryAction
Available on crate feature client only.
Expand description

Given an iterator of retry classifiers and an interceptor context, run retry classifiers on the context. Each classifier is passed the classification result from the previous classifier (the ‘root’ classifier is passed None.)