Expand description
Utilities for tracking time.
Re-exports
Modules
Time error types.
Structs
Interval returned by interval
and interval_at
.
Future returned by sleep
and sleep_until
.
Handle to a shared time source.
Enums
Defines the behavior of an Interval
when it misses a tick.
Functions
Creates new Interval
that yields with interval of period
with the
first tick completing at start
.
Waits until duration
has elapsed.
Waits until deadline
is reached.
Require a Future
to complete before the specified duration has elapsed.