tokio
1.41.1
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.