Struct aws_smithy_client::retry::Standard
source · pub struct Standard { /* private fields */ }
Expand description
Manage retries for a service
An implementation of the standard
AWS retry strategy. A Strategy
is scoped to a client.
For an individual request, call Standard::new_request_policy()
Implementations§
Trait Implementations§
source§impl NewRequestPolicy for Standard
impl NewRequestPolicy for Standard
§type Policy = RetryHandler
type Policy = RetryHandler
The type of the per-request policy mechanism.
source§fn new_request_policy(
&self,
sleep_impl: Option<Arc<dyn AsyncSleep>>
) -> Self::Policy
fn new_request_policy( &self, sleep_impl: Option<Arc<dyn AsyncSleep>> ) -> Self::Policy
Create a new policy mechanism instance.