pub trait AsyncTimer:
Send
+ Debug
+ 'static {
// Required methods
fn reset(self: Pin<&mut Self>, i: Instant);
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()>;
}
Expand description
Abstract implementation of an async timer for runtime independence