Expand description

Asynchronous tasks executor.

Structs

Factory which is used to configure the properties of a new task.

An opaque ID that uniquely identifies a task relative to all other currently running tasks.

Task failed to execute to completion.

An owned permission to join on a task (await its termination).

NodeIdmadsim

A unique identifier for a node.

A handle to spawn tasks on a node.

Traits

A trait for objects which can be resolved to an identifier of node.

Functions

Spawns a new asynchronous task, returning a JoinHandle for it.

spawn_blockingDeprecated

Runs the provided closure on a thread where blocking is acceptable.

Spawns a !Send future on the local task set.

Yields execution back to the Tokio runtime.

Type Definitions

TaskNodeHandleDeprecated

A handle to spawn tasks on a node.