Skip to main content

Module slot

Module slot 

Source
Expand description

Slot addressing for cnodes.

A SlotIdx names one slot in a single cnode (root or nested). A SlotPath walks from the root cnode through nested Cap::CNode slots down to a target slot.

The root cnode is fixed-size 256 slots per v3 spec; nested Cap::CNode values have variable size 2^k. SlotIdx is a u32 to accommodate the largest cnode reachable in practice.

Structsยง

SlotIdx
Index into a single cnode (root or nested).
SlotPath
Path from the root cnode through nested cnodes to a slot.