[−][src]Trait adaptive_backoff::backoff::Backoff
The Backoff trait provides a method to return how long to back off when called.
Required methods
pub fn wait(&mut self) -> Duration
[src]
wait for the next backoff duration. Each backoff function will vary in how the duration changes with time.
pub fn reset(&mut self)
[src]
reset the backoff duration to the initial if it has some running state.