Crate async_local

source ·

Structs

A wrapper around a thread-safe inner type used for creating stable references to thread-locals that are valid for the lifetime of the Tokio runtime and usable within an async context across await points
A thread-safe reference to a thread local Context
A thread-safe reference to a thread-local Context constrained by a phantom lifetime

Traits

LocalKey extension for creating stable thread-safe references to a thread-local Context that are valid for the lifetime of the Tokio runtime and usable within an async context across await points