Expand description
Structs§
- Error
- Wraps
SystemTimeError
to provide diagnostics.
Constants§
- CURRENT_
TIME_ BEFORE_ EPOCH - The error message for when the system time is before the epoch.
Functions§
- expect_
now - Similar to
now
, but panics if the current time is before the epoch. - now
- Returns the current time as seconds since the epoch.