Skip to main content

InitialDataCap

Type Alias InitialDataCap 

Source
pub type InitialDataCap = DataDesc;
Expand description

Initial Cap::Data content for a non-pinned mutable slot. Used at standalone (root) Instance bootstrap to seed the cnode. A parented Instance receives its slots from the spawner and ignores this field.

Now a DataDesc (page-granular sparse content over the Image arena); a pure zero region (stack/heap) is DataDesc { size, pages: [] }.

Aliased Type§

pub struct InitialDataCap {
    pub size: u64,
    pub pages: Vec<ArenaPageRef>,
}

Fields§

§size: u64§pages: Vec<ArenaPageRef>