Crate async_local
source ·Modules§
- runtime
barrier-protected-runtime
A Tokio Runtime builder configured with a barrier that rendezvous worker threads during shutdown as to ensure tasks never outlive local data owned by worker threads
Structs§
- A wrapper type used for creating pointers to thread-locals
- A thread-safe pointer to a thread-local
Context
constrained by a “generative” lifetime brand that is invariant over the lifetime parameter and cannot be coerced into'static
Traits§
- A marker trait promising that AsRef<
Context<T>
> is implemented in a way that can’t be invalidated - LocalKey extension for creating thread-safe pointers to thread-local
Context