Expand description
Cross platform time utilities.
Structs§
- Duration
- A
Duration
type to represent a span of time, typically used for system timeouts. - Instant
- A measurement of a monotonically nondecreasing clock.
Opaque and useful only with
Duration
. - Time
- A measurement of the system clock, useful for talking to external entities like the file system or other processes.
Functions§
- now
- Returns the current system time (UTC+0).