Module tokio::task::local

source ยท
Expand description

Runs !Send futures on the current thread.

Structsยง

  • Context ๐Ÿ”’
    State available from the thread-local.
  • LocalData ๐Ÿ”’
  • A guard for LocalData::enter()
  • Context guard for LocalSet
  • A set of tasks which are executed on the same thread.
  • LocalState ๐Ÿ”’
    Tracks the LocalSet state that must only be accessed from the thread that created the LocalSet.
  • RunUntil ๐Ÿ”’
  • Shared ๐Ÿ”’
    LocalSet state shared between threads.

Constantsยง

Functionsยง