Crate retry_future
source ·Expand description
The main purpose of the crate is to retry Futures
which may contain complex scenarios such as
not only handling errors but anything that should be retried. This may include
retrying 500’s errors from http requests or retrying something like “pseudo” successes from
grpc requests.
Re-exports
Modules
Macros
Return early with RetryPolicy::Fail
Return early with RetryPolicy::Retry
Structs
Retry futures exponentially.
Infinite retry
Simple retry strategy that is retrying futures after Duration
A future which is trying to resolve inner future
until it exits successfully or return an error.
Enums
Return type of inner future
inside RetryFuture
Traits
Configuration trait for RetryFuture.