Skip to main content

Module clock

Module clock 

Source
Expand description

Instance-owned UTC time for creation and expiry decisions.

Structs§

SystemClock
The production clock, read directly from the operating system.

Enums§

ClockError
A failure to obtain or represent a clock reading.
ClockSource
The explicit clock choice owned by a constructed service or command.

Traits§

Clock
A UTC clock supplied when an owner is constructed.

Functions§

unix_seconds
Converts a UTC instant to the existing whole unsigned Unix seconds.

Type Aliases§

UtcInstant
The UTC instant a provider supplies without requiring consumers to name its dependency.