pub trait MicroTimer {
// Required method
fn now(&self) -> Microseconds;
}Expand description
Represents a timer with microsecond resolution
Required Methods§
Sourcefn now(&self) -> Microseconds
fn now(&self) -> Microseconds
Return an instance in time as a number of microseconds since some fixed point (normally boot or start of the timer). The implementation is allowed to wrap during a read from the sensor.