Crate exp_backoff

Source
Expand description

backoff provides jittered backoff values (nanoseconds) for operations that needs to do sleeps with jittered backoff between retries. The implementation is based on https://www.awsarchitectureblog.com/2015/03/backoff.html.

The API layout is inspired by Google’s gax/Backoff package for Go.

Structs§

Backoff
Backoff provides jittered backoff values (nanoseconds) for operations that needs to do sleeps with jittered backoff between retries.
BackoffBuilder
BackoffBuilder builds an instance of Backoff with default values.