Trait async_sleep::Sleepble

source ·
pub trait Sleepble {
    fn sleep(dur: Duration) -> Self;
    fn wait(self) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>;
}

Required Methods§

Implementors§