Crate async_local

source ·

Structs

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

Traits

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