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