pub trait SmithyRetryPolicy<O, T, E, Retry>: Policy<Operation<O, Retry>, SdkSuccess<T>, SdkError<E>> + Clone {
    type O: ParseHttpResponse<Output = Result<T, Self::E>> + Send + Sync + Clone + 'static;
    type E: Error;
    type Retry: ClassifyRetry<SdkSuccess<T>, SdkError<Self::E>>;
}
Expand description

A Smithy retry policy.

This trait has a blanket implementation for all compatible types, and should never be implemented.

Required Associated Types§

source

type O: ParseHttpResponse<Output = Result<T, Self::E>> + Send + Sync + Clone + 'static

Forwarding type to O for bound inference.

See module-level docs for details.

source

type E: Error

Forwarding type to E for bound inference.

See module-level docs for details.

source

type Retry: ClassifyRetry<SdkSuccess<T>, SdkError<Self::E>>

Forwarding type to Retry for bound inference.

See module-level docs for details.

Implementors§

source§

impl<R, O, T, E, Retry> SmithyRetryPolicy<O, T, E, Retry> for Rwhere R: Policy<Operation<O, Retry>, SdkSuccess<T>, SdkError<E>> + Clone, O: ParseHttpResponse<Output = Result<T, E>> + Send + Sync + Clone + 'static, E: Error, Retry: ClassifyRetry<SdkSuccess<T>, SdkError<E>>,

§

type O = O

§

type E = E

§

type Retry = Retry