Module time

Overview

Structs

Duration‐

A Duration type to represent a span of time, typically used for system

Instant‐

A measurement of a monotonically nondecreasing clock.

Interval‐

Interval returned by interval and interval_at.

Functions

interval‐

Creates new Interval that yields with interval of period. The first

interval_at‐

Creates new Interval that yields with interval of period with the

sleep‐

Waits until duration has elapsed.