Trait app_frame::time::Sleeper

source ·
pub trait Sleeper: Send + Sync {
    // Required method
    fn sleep<'life0, 'async_trait>(
        &'life0 self,
        duration: Duration
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn sleep<'life0, 'async_trait>( &'life0 self, duration: Duration ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§