Function failsafe::backoff::exponential
source · pub fn exponential(start: Duration, max: Duration) -> Exponential ⓘ
Expand description
Creates infinite stream of backoffs that keep the exponential growth from start
until it
reaches max
.