Trait Clock
Source pub trait Clock {
// Required method
fn now(&self) -> u32;
}
Expand description
Provides the current time in seconds.
Returns the current time in seconds since an
arbitrary epoch.
Source§Available on crate feature cfs only.
Source§Available on crate feature std only.
Source§Available on crate feature cfs only.