Content-Length: 10476 | pFad | https://doc.rust-lang.org/stable/std/rc/../ffi/../sync/../task/#

std::task - Rust

Module task

Module task 

1.36.0 · Source
Expand description

Types and Traits for working with asynchronous tasks.

Macros§

ready
Extracts the successful type of a Poll<T>.

Structs§

Context
The context of an asynchronous task.
RawWaker
A RawWaker allows the implementor of a task executor to create a Waker or a LocalWaker which provides customized wakeup behavior.
RawWakerVTable
A virtual function pointer table (vtable) that specifies the behavior of a RawWaker.
Waker
A Waker is a handle for waking up a task by notifying its executor that it is ready to be run.
ContextBuilderExperimental
A Builder used to construct a Context instance with support for LocalWaker.
LocalWakerExperimental
A LocalWaker is analogous to a Waker, but it does not implement Send or Sync.

Enums§

Poll
Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.

Traits§

Waketarget_has_atomic=ptr
The implementation of waking a task on an executor.
LocalWakeExperimental
An analogous trait to Wake but used to construct a LocalWaker.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://doc.rust-lang.org/stable/std/rc/../ffi/../sync/../task/#

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy