logo
Expand description

Time handling functionality.

Structs

Microseconds. Represents a span of time like std::time::Duration.

A monotonic timestamp.

Wrapper for libc::timeval, attaching various methods and trait implementations.

A Unix timestamp.

Constants

Microseconds per millisecond.

Microseconds per second.

Milliseconds per second.

Nanoseconds per microsecond.

Nanoseconds per millisecond.

Nanoseconds per second.

USEC_INVALIDDeprecated

Invalid time. Microseconds value representing ‘invalid’.

USEC_MAXDeprecated

Largest valid time value in microseconds (largest integer value is reserved for representing ‘invalid’).