Modules§
Structs§
- Retry structure generated by
BlockingRetryable. - Retry structure generated by
BlockingRetryableWithContext. - ConstantBuilder is used to create a [
ConstantBackoff], providing a steady delay with a fixed number of retries. - ExponentialBuilder is used to construct an [
ExponentialBackoff] that offers delays with exponential retries. - FibonacciBuilder is used to build a [
FibonacciBackoff] which offers a delay with Fibonacci-based retries. - Struct generated by
Retryable. - Retry struct generated by
RetryableWithContext. - The default implementation of
Sleeperusestokio::time::sleep.
Enums§
Traits§
- BackoffBuilder is utilized to construct a new backoff.
- BlockingRetryable adds retry support for blocking functions.
- BlockingRetryableWithContext adds retry support for blocking functions.
- A sleeper is used sleep for a specified duration.
- Retryable will add retry support for functions that produce futures with results.
RetryableWithContextadds retry support for functions that produce futures with results and context.- A sleeper is used to generate a future that completes after a specified duration.
Type Aliases§
- The default implementation of
Sleeperwhen no features are enabled. - The default implementation of
Sleeperwhile featuretokio-sleepenabled.