Trait Sleeper
backoff::future
pub trait Sleeper { type Sleep: Future<Output = ()> + Send + 'static; fn sleep(&self, dur: Duration) -> Self::Sleep; }
futures
type Sleep: Future<Output = ()> + Send + 'static
fn sleep(&self, dur: Duration) -> Self::Sleep