Skip to main content

Module task

Module task 

Source

Modules§

batch
context
future
group
storage
time
wait

Structs§

Join
PollFn
Race
Resolves with the first completed child, preferring left when both run. A budget-skipped child resumes first on the next poll. Completion ends the owner’s polling authority for this race.
Ready
Task
One final pinned place that drops its child before releasing the output.

Traits§

Fiber
A pinned unit of cooperative work admitted by its live owner and driver. Ready ends polling; the owning task drops this fiber before exposing its output. Task retains standalone completion; nested polls share admission and budget.
Stream
A pinned sequence whose owner stops polling after Ready(None). Each admitted call yields at most one item; Task drops the child at end.