tokio
1.42.0
Module sleep
Structs
Functions
In tokio::
time
Module
tokio
::
time
::
sleep
Copy item path
source
·
[
−
]
Structs
§
Inner
🔒
Sleep
Future returned by
sleep
and
sleep_until
.
Functions
§
sleep
Waits until
duration
has elapsed.
sleep_
until
Waits until
deadline
is reached.