Trait aws_smithy_runtime_api::client::retries::RetryStrategy
source · pub trait RetryStrategy: Send + Sync + Debug {
// Required methods
fn should_attempt_initial_request(
&self,
cfg: &ConfigBag
) -> Result<ShouldAttempt, BoxError>;
fn should_attempt_retry(
&self,
context: &InterceptorContext,
cfg: &ConfigBag
) -> Result<ShouldAttempt, BoxError>;
}