pub trait Frequency {
// Required method
fn frequency() -> u32;
}
Expand description
Represents a clock’s frequency in Hz, allowing code to transform
between computer time units and wall clock time. It is typically
an associated type for an implementation of the Time
trait.
Required Methods§
Object Safety§
This trait is not object safe.