Trait SimpleClock

Source
pub trait SimpleClock {
    // Required method
    fn now_us(&self) -> u64;
}
Expand description

Provides an abstraction for hardware-specific clocks with the microsecond precision.

Required Methods§

Source

fn now_us(&self) -> u64

Returns an instant time in the microseconds.

Implementors§