Module block
Source - Block π
- A block in a linked list.
- BlockHeader π
- Extra fields for a
Block<T>
. - Values π
- Read π
- BLOCK_MASK π
- Masks an index to get the block identifier.
- READY_MASK π
- Mask covering all bits used to track slot readiness.
- RELEASED π
- Flag tracking that a block has gone through the senderβs release routine.
- SLOT_MASK π
- Masks an index to get the value offset in a block.
- TX_CLOSED π
- Flag tracking all senders dropped.
- is_ready π
- Returns
true
if the specified slot has a value ready to be consumed. - is_tx_closed π
- Returns
true
if the closed flag has been set. - offset π
- Returns the offset into the block referenced by
slot_index
. - start_index π
- Returns the index of the first slot in the block referenced by
slot_index
.