Module af_core::task [−][src]
Task-based concurrency.
Re-exports
pub use self::join::Join; |
pub use self::try_join::TryJoin; |
Modules
| join | Wait for multiple tasks concurrently. |
| try_join | Wait for multiple fallible tasks concurrently. |
Structs
| CancelSignal | An awaitable cancel signal triggered by a |
| Canceled | An error indicating a task was canceled. |
| Canceler | A task canceler that triggers a cloneable |
| Task | An asynchronous task. |
Traits
| Start | A trait for types that can start tasks. |
Functions
| sleep | Waits for the given duration to elapse. |
| start | Starts a new task. |
| yield_now | Yields once to other running tasks. |