Expand description
PageSlot and PageRef — DataCap page storage.
Each page is owned by the DataCap that holds it. Sharing across
DataCap CoW clones is done via PageRef, a refcounted handle
over PageBytes backed by the global allocator. The cache
subsystem doesn’t index pages by hash — pages aren’t first-class
caps. They’re internal to the DataCap layer.
Structs§
- Page
Bytes - One page’s bytes plus its precomputed content hash.
Enums§
- Page
Slot - Sparse representation of a paged DataCap’s pages.
Emptyis the canonical zero page;Loadedholds a refcounted byte slab;Missingrecords the page’s content hash so a host callback can later resolve it (V1: never observed — we always pre-publish).