Docs.rs
  • async-local-6.0.2
    • async-local 6.0.2
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • Bajix
    • Dependencies
      • ctor ^0.4.1 normal
      • derive-async-local ^6.0.2 normal
      • generativity ^1.1 normal
      • linkme ^0.3.32 normal
      • num_cpus ^1.16 normal
      • tokio ^1 normal optional
      • tokio ^1 dev
      • loom ^0.7 normal
    • Versions
    • 83.33% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate async_local

async_local6.0.2

  • All Items

Crate Items

  • Structs
  • Traits
  • Attribute Macros
  • Derive Macros

Crates

  • async_local

Crate async_local

Source

Structs§

Context
A wrapper type used for creating pointers to thread-locals
LocalRef
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§

AsContext
A marker trait promising that AsRef<Context<T>> is implemented in a way that can’t be invalidated
AsyncLocal
LocalKey extension for creating thread-safe pointers to thread-local Context

Attribute Macros§

main
Configures main to be executed by the selected Tokio runtime
test
Marks async function to be executed by runtime, suitable to test environment.

Derive Macros§

AsContext
Derive AsRef<Context<T>> and AsContext for a struct

Results

Settings
Help
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.