Expand description
Helpers for working with asynchronous tasks.
Structs§
- Instrumented
Task - An instrumented task future.
Traits§
- Handle
Ext - Helper trait for providing traced spawning when using
Handle. - Join
SetExt - Helper trait for providing traced spawning when using
JoinSet<T>. - Task
Instrument - Helper trait for instrumenting futures that are run as asynchronous tasks.
Functions§
- get_
caller_ location_ as_ string - Gets the caller location as a string, in the form of
file:line:column. - spawn_
traced - Spawns a new asynchronous task, returning a
JoinHandlefor it. - spawn_
traced_ named - Spawns a new named asynchronous task, returning a
JoinHandlefor it.