Skip to main content
Module time
nautilus_
network
0.56.0
Module time
Module Items
Structs
Functions
In nautilus_
network::
dst
nautilus_network
::
dst
Module
time
Copy item path
Source
Structs
§
Duration
A
Duration
type to represent a span of time, typically used for system timeouts.
Instant
A measurement of a monotonically nondecreasing clock. Opaque and useful only with
Duration
.
Functions
§
sleep
Waits until
duration
has elapsed.
timeout
Requires a
Future
to complete before the specified duration has elapsed.