pub trait SleepAsyncExt {
    // Required method
    fn sleep_async(&self) -> Pin<Box<dyn Future<Output = ()> + Send + '_>>;
}

Required Methods§

source

fn sleep_async(&self) -> Pin<Box<dyn Future<Output = ()> + Send + '_>>

Implementations on Foreign Types§

source§

impl SleepAsyncExt for Duration

source§

fn sleep_async(&self) -> Pin<Box<dyn Future<Output = ()> + Send + '_>>

Implementors§