pub trait Runtime {
    // Required method
    fn sleep<'async_trait>(
        dur: Duration
    ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>;
}

Required Methods§

source

fn sleep<'async_trait>( dur: Duration ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>

Object Safety§

This trait is not object safe.

Implementors§