Movatterモバイル変換


[0]ホーム

URL:


Module task

std

Moduletask 

1.36.0 ·Source
Expand description

Types and Traits for working with asynchronous tasks.

Macros§

ready
Extracts the successful type of aPoll<T>.

Structs§

Context
The context of an asynchronous task.
RawWaker
ARawWaker allows the implementor of a task executor to create aWakeror aLocalWaker which provides customized wakeup behavior.
RawWakerVTable
A virtual function pointer table (vtable) that specifies the behaviorof aRawWaker.
Waker
AWaker is a handle for waking up a task by notifying its executor that itis ready to be run.
ContextBuilderExperimental
A Builder used to construct aContext instancewith support forLocalWaker.
LocalWakerExperimental
ALocalWaker is analogous to aWaker, but it does not implementSend orSync.

Enums§

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

Traits§

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

[8]ページ先頭

©2009-2026 Movatter.jp