Trait backoff::future::Sleeper

source ·
pub trait Sleeper {
    type Sleep: Future<Output = ()> + Send + 'static;

    fn sleep(&self, dur: Duration) -> Self::Sleep;
}

Required Associated Types§

Required Methods§

Implementors§