Struct aws_smithy_client::retry::RetryHandler [−][src]
pub struct RetryHandler { /* fields omitted */ }
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
impl<Handler, R, T, E> Policy<Operation<Handler, R>, SdkSuccess<T>, SdkError<E, Response>> for RetryHandler where
Handler: Clone,
R: ClassifyResponse<SdkSuccess<T>, SdkError<E>>,
impl<Handler, R, T, E> Policy<Operation<Handler, R>, SdkSuccess<T>, SdkError<E, Response>> for RetryHandler where
Handler: Clone,
R: ClassifyResponse<SdkSuccess<T>, SdkError<E>>,
Check the policy if a certain request should be retried. Read more
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
Mutably borrows from an owned value. Read more
impl<R, O, T, E, Retry> SmithyRetryPolicy<O, T, E, Retry> for R where
R: Policy<Operation<O, Retry>, SdkSuccess<T>, SdkError<E, Response>> + Clone,
O: 'static + ParseHttpResponse<Output = Result<T, E>> + Send + Sync + Clone,
E: Error,
Retry: ClassifyResponse<SdkSuccess<T>, SdkError<E, Response>>,
impl<R, O, T, E, Retry> SmithyRetryPolicy<O, T, E, Retry> for R where
R: Policy<Operation<O, Retry>, SdkSuccess<T>, SdkError<E, Response>> + Clone,
O: 'static + ParseHttpResponse<Output = Result<T, E>> + Send + Sync + Clone,
E: Error,
Retry: ClassifyResponse<SdkSuccess<T>, SdkError<E, Response>>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more