Module time

Source
Expand description

Time handling functionality.

Structs§

MicroSeconds
Microseconds. Represents a span of time like std::time::Duration.
MonotonicTs
A monotonic timestamp.
Timeval
Wrapper for libc::timeval, attaching various methods and trait implementations.
UnixTs
A Unix timestamp.

Constants§

MICROS_PER_MILLI
Microseconds per millisecond.
MICROS_PER_SEC
Microseconds per second.
MILLIS_PER_SEC
Milliseconds per second.
NANOS_PER_MICRO
Nanoseconds per microsecond.
NANOS_PER_MILLI
Nanoseconds per millisecond.
NANOS_PER_SEC
Nanoseconds per second.