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
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.)