Trait async_speed_limit::clock::BlockingClock[][src]

pub trait BlockingClock: Clock {
    fn blocking_sleep(&self, dur: Duration);
}

A BlockingClock is a Clock which supports synchronous sleeping.

Required methods

fn blocking_sleep(&self, dur: Duration)[src]

Sleeps and blocks the current thread for the given duration.

Loading content...

Implementors

impl BlockingClock for StandardClock[src]

Loading content...