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
sourceimpl Clone for RetryHandler
impl Clone for RetryHandler
sourcefn clone(&self) -> RetryHandler
fn clone(&self) -> RetryHandler
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RetryHandler
impl Debug for RetryHandler
sourceimpl<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
.Auto Trait Implementations
impl !RefUnwindSafe for RetryHandler
impl Send for RetryHandler
impl Sync for RetryHandler
impl Unpin for RetryHandler
impl !UnwindSafe for RetryHandler
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