pub trait RuntimeSupport:
Spawn
+ 'static
+ Sync
+ Send {
// Required methods
fn sleep(&self, duration: Duration) -> BoxFuture<'_, ()>;
fn now(&self) -> Instant;
}Expand description
A dyn-safe view of the parts of an async runtime that we need for rate-limiting.