Crate spawns_core
source ·Structs§
- Builder to spawn task with more options.
- Handle to cancel associated task.
- Unique among running tasks.
- Error in polling JoinHandle.
- Handle to join or cancel associated task.
- Task name.
- Thin wrapper around task to accommodate possible new members.
- An owned permission to cancel task on Drop besides join and cancel on demand.
Traits§
- Trait to spawn task.
Functions§
- Gets running task’s id. Panic if no reside in managed async task.
- Spawns a new task.
- Gets running task’s id. None if no reside in managed async task.