Crate async_local

source ·

Modules

  • runtimetokio-runtime or 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
  • A thread-safe pointer to a thread-local Context constrained by a phantom lifetime

Enums

  • A Future with a reference to a thread local Context that’s usable across await points

Traits

Derive Macros