Expand description
Helpers for working with asynchronous tasks.
Traits§
- Handle
Ext - Helper trait for providing traced spawning when using
Handle
. - Join
SetExt - Helper trait for providing traced spawning when using
JoinSet<T>
.
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
JoinHandle
for it. - spawn_
traced_ named - Spawns a new named asynchronous task, returning a
JoinHandle
for it.