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
sourceimpl NewRequestPolicy for Standard
impl NewRequestPolicy for Standard
type Policy = RetryHandler
type Policy = RetryHandler
The type of the per-request policy mechanism.
sourcefn 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.
Auto Trait Implementations
impl RefUnwindSafe for Standard
impl Send for Standard
impl Sync for Standard
impl Unpin for Standard
impl UnwindSafe for Standard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more