Struct aws_smithy_client::retry::RetryHandler
source · pub struct RetryHandler { /* private fields */ }
Expand description
RetryHandler
Implement retries for an individual request. It is intended to be used as a Tower Retry Policy for use in tower-based middleware stacks.
Trait Implementations§
source§impl Clone for RetryHandler
impl Clone for RetryHandler
source§fn clone(&self) -> RetryHandler
fn clone(&self) -> RetryHandler
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RetryHandler
impl Debug for RetryHandler
source§impl<Handler, R, T, E> Policy<Operation<Handler, R>, SdkSuccess<T>, SdkError<E, Response>> for RetryHandlerwhere
Handler: Clone,
R: ClassifyRetry<SdkSuccess<T>, SdkError<E>>,
impl<Handler, R, T, E> Policy<Operation<Handler, R>, SdkSuccess<T>, SdkError<E, Response>> for RetryHandlerwhere Handler: Clone, R: ClassifyRetry<SdkSuccess<T>, SdkError<E>>,
§type Future = Pin<Box<dyn Future<Output = RetryHandler> + Send + 'static, Global>>
type Future = Pin<Box<dyn Future<Output = RetryHandler> + Send + 'static, Global>>
The
Future
type returned by Policy::retry
.