pub trait Timer {
// Required methods
fn reset(&mut self);
async fn at(&mut self, millis: u64);
async fn delay_ms(&mut self, millis: u64);
}Expand description
An asynchronous timer that allows the state machine to await between RX windows.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.