time

Module duration

Source
Expand description

The Duration struct and its associated impls.

Macrosยง

Structsยง

  • A span of time with nanosecond precision.

Enumsยง

  • Padding ๐Ÿ”’
    By explicitly inserting this enum where padding is expected, the compiler is able to better perform niche value optimization.

Type Aliasesยง

  • Nanoseconds ๐Ÿ”’
    The type of the nanosecond field of Duration.