Structs§
- Join
Handle - An owned permission to join on a task (await its termination).
Functions§
- sleep
- Waits until
duration
has elapsed. - spawn
- Spawns a new asynchronous task, returning a
JoinHandle
for it. - spawn_
blocking - Runs the provided closure on a thread where blocking is acceptable.
- spawn_
local - Spawns a
!Send
future on the currentLocalSet
orLocalRuntime
. - timeout_
fut - Requires a
Future
to complete before the specified duration has elapsed.