Trait aws_smithy_client::retry::NewRequestPolicy[][src]

pub trait NewRequestPolicy {
    type Policy;
    fn new_request_policy(&self) -> Self::Policy;
}
Expand description

A policy instantiator.

Implementors are essentially “policy factories” that can produce a new instance of a retry policy mechanism for each request, which allows both shared global state and per-request local state.

Associated Types

The type of the per-request policy mechanism.

Required methods

Create a new policy mechanism instance.

Implementors