Expand description
Defines the Instant trait for clock users and corresponding implementations for clock
implementers
The following types implementing the Instant trait are defined:
TimespecInstantfor a struct ofu32seconds andu32nanosecondsInstant32for an instant using a singleu32tick counterInstant64for an instant using a singleu64tick counter- If the
stdfeature is enabled, theInstanttrait is implemented onstd::time::Instant
Structs§
- Instant32
- An
Instanttype using a single unsigned integer tick counter - Instant64
- An
Instanttype using a single unsigned integer tick counter - Timespec
Instant - An
Instanttype inspired by thetimespecstruct from the C standard library
Traits§
- Instant
- Trait for types which represent measurements of monotonically nondecreasing clocks