Module heapfree_executor

Module heapfree_executor 

Source
Expand description

A multi-task executor that uses statically allocated state for tracking task status.

StructsΒ§

BitWaker πŸ”’
A Waker that can be used to wake a sub-future within an outer task while tracking which sub-future it is.
Executor
Async sub-executor.
ExecutorShared
Permanent shared state required for the Executor.
WakerShared πŸ”’
Data shared between multiple BitWakers associated with a single Executor.

TraitsΒ§

AddUsizeBitsMinusOne πŸ”’
Helper to force associated type normalization.
DivCeilUsizeBits πŸ”’
Helper to force associated type normalization.
Internal πŸ”’
Private API to simplify bounds that users don’t need to care about.

FunctionsΒ§

get_active_index_and_mask πŸ”’
Gets the index of the word that the index flag is stored in, and the mask to identify the flag within the word.

Type AliasesΒ§

LengthInWords πŸ”’
Helper to simplify getting the LengthInWords associated type.
UsizeBits πŸ”’
UsizeBitsMinusOne πŸ”’