Crate tokio_macros[][src]

Expand description

Macros for use with Tokio

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. The function executes in the context of a LocalSet, allowing calls to spawn_local without further setup.

Always fails with the error message below.

Marks async function to be executed by 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

Always fails with the error message below.

Marks async function to be executed by runtime, suitable to test environment