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