Crate async_repeat

Source

Macros§

fail
repeat

Structs§

AsyncRetry
A future which is trying to resolve inner future until it exits successfully or return an error.
ExponentialRetryStrategy
InfiniteRetryStrategy
LinearRetryStrategy
RetryError
Error returned from AsyncRetry, i.e. when we await AsyncRetry, the returned type is Result<T, RetryError<E>>
TooManyAttempts
Type to be used in RetryStrategy

Enums§

RetryPolicy
Return type of inner future inside AsyncRetry

Traits§

FutureFactory
RetryStrategy
Configuration trait for AsyncRetry.