Trait async_sleep::Sleepble

source ·
pub trait Sleepble {
    // Required methods
    fn sleep(dur: Duration) -> Self;
    fn wait(self) -> SleepbleWaitBoxFuture;
}

Required Methods§

Implementors§