pub trait Backoff { // Required methods fn backoff(&mut self) -> Duration; fn reset(&mut self); }
A backoff strategy for retries.