Crate static_graph

source ·

Modules

Asynchronous file and standard stream adaptation.
TCP/UDP/Unix bindings for tokio.
An implementation of asynchronous process management for Tokio.
The Tokio runtime.
Asynchronous signal handling for Tokio.
Due to the Stream trait’s inclusion in std landing later than Tokio’s 1.0 release, most of the Tokio stream utilities have been moved into the tokio-stream crate.
Synchronization primitives for use in asynchronous contexts.
Asynchronous green-threads.
Utilities for tracking time.

Macros

Waits on multiple concurrent branches, returning when all branches complete.
Pins a value on the stack.
Waits on multiple concurrent branches, returning when the first branch completes, cancelling the remaining branches.
Declares a new task-local key of type tokio::task::LocalKey.
Waits on multiple concurrent branches, returning when all branches complete with Ok(_) or on the first Err(_).

Structs

Functions

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

Attribute Macros

Marks async function to be executed by the selected runtime. This macro helps set up a Runtime without requiring the user to use Runtime or Builder directly.
Marks async function to be executed by runtime, suitable to test environment. This macro helps set up a Runtime without requiring the user to use Runtime or Builder directly.