Module id
tokio
1.44.1
Module id
Module Items
Structs
Functions
In tokio::
runtime::
task
Modules
abort
core
error
harness
id
join
list
raw
state
waker
Structs
LocalNotified
Notified
Task
TaskHarnessScheduleHooks
UnownedTask
Traits
Schedule
Functions
new_task
unowned
Type Aliases
Result
tokio
::
runtime
::
task
Module
id
Copy item path
Settings
Help
Summary
Source
Structs
§
Id
An opaque ID that uniquely identifies a task relative to all other currently running tasks.
Functions
§
id
Returns the
Id
of the currently running task.
try_id
Returns the
Id
of the currently running task, or
None
if called outside of a task.