pub trait MonoTimerExt: Sized {
// Required method
fn monotonic<const FREQ: u32>(
self,
clocks: &Clocks,
) -> MonoTimer<Self, FREQ>;
// Provided method
fn monotonic_us(self, clocks: &Clocks) -> MonoTimer<Self, 1_000_000> { ... }
}
Required Methods§
Provided Methods§
fn monotonic_us(self, clocks: &Clocks) -> MonoTimer<Self, 1_000_000>
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.