Function failsafe::backoff::exponential
source · [−]pub fn exponential(start: Duration, max: Duration) -> ExponentialⓘNotable traits for Exponentialimpl Iterator for Exponential type Item = Duration;
Expand description
Creates infinite stream of backoffs that keep the exponential growth from start
until it
reaches max
.