Crate futures_spawn [−] [src]
An abstraction for spawning futures
futures-rs provides a task abstraction and the ability for custom executors to manage how future execution is scheduled across them.
futures-spawn provides an abstraction representing the act of spawning a
future. This enables writing code that is not hard coded to a specific
executor.
Structs
| NewThread |
Spawn all futures on a new thread |
| SpawnHandle |
The type of future returned from the |
| Spawned |
Contains a future that was spawned |
Traits
| Spawn |
Value that can spawn a future |
| SpawnHelper |
Additional strategies for spawning a future. |