pub trait Runtime {
// Required method
fn sleep<'async_trait>(
dur: Duration
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>;
}
Required Methods§
fn sleep<'async_trait>( dur: Duration ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
Object Safety§
This trait is not object safe.