Expand description
Utility functions for std::time.
Constants§
- MAX_
DURATION_ SINCE_ UNIX_ EPOCH - Maximum duration that can be safely added to
SystemTime::UNIX_EPOCHwithout overflow on the current platform. - NANOS_
PER_ SEC - Number of nanoseconds in a second.
- SYSTEM_
TIME_ PRECISION - The precision of
SystemTimeon Unix.
Traits§
- Duration
Ext - Extension trait providing additional functionality for
Duration. - System
Time Ext - Extension trait to add methods to
std::time::SystemTime