Trait backoff::future::Sleeper[][src]

pub trait Sleeper {
    type Sleep: Future<Output = ()> + Send + 'static;
    fn sleep(&self, dur: Duration) -> Self::Sleep;
}
This is supported on crate feature futures only.

Associated Types

type Sleep: Future<Output = ()> + Send + 'static[src]

Loading content...

Required methods

fn sleep(&self, dur: Duration) -> Self::Sleep[src]

Loading content...

Implementors

Loading content...