Trait aws_smithy_client::bounds::SmithyRetryPolicy
source · 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§
sourcetype O: ParseHttpResponse<Output = Result<T, Self::E>> + Send + Sync + Clone + 'static
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.
sourcetype Retry: ClassifyRetry<SdkSuccess<T>, SdkError<Self::E>>
type Retry: ClassifyRetry<SdkSuccess<T>, SdkError<Self::E>>
Forwarding type to Retry
for bound inference.
See module-level docs for details.
Object Safety§
This trait is not object safe.