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§
- Archived
Page Bytes - An archived
PageBytes - Page
Bytes - One page’s bytes plus its precomputed content hash.
- Page
Bytes Resolver - The resolver for an archived
PageBytes
Enums§
- Archived
Page Slot - An archived
PageSlot - 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). - Page
Slot Resolver - The resolver for an archived
PageSlot