Module async_runtime

Source

Modules§

future
Asynchronous values.

Structs§

DropGuardAction
A drop guard that runs a finalizer when dropped.
JoinHandle
Equivalent to tokio::task::JoinHandle.
MaskFutureAsSend

Traits§

FutureExt
An extension trait for Futures that provides a variety of convenient adapters.

Functions§

spawn
Equivalent to tokio::task::spawn, but does not require the future to be Send. Must only be used on a RuntimeFlavor::CurrentThread executor, though this is only checked when running with debug assertions.
spawn_blocking
Equivalent to tokio::task::spawn_blocking. Currently a thin wrapper around the tokio API, but this may change in the future.

Type Aliases§

LocalBoxFuture

Attribute Macros§

async_trait