pub enum PageKind {
PinnedCapRo,
UnpinnedCapCow,
EphemeralZero,
}Expand description
Static per-page source kind, derived once from the Image’s declared memory mappings (pinned slot vs initial slot vs ephemeral / zero tail).
Variants§
PinnedCapRo
Sourced from a pinned cnode slot: read-only forever. A store is a hard fault, never a CoW.
UnpinnedCapCow
Sourced from an unpinned (initial) slot: readable; the first write copies-on-write.
EphemeralZero
Declared mapping with no / empty source (ephemeral working area, or the zero-padded tail of an under-sized DataCap): reads see zero, the first write materializes a fresh zero page.
Implementations§
Trait Implementations§
impl Copy for PageKind
impl Eq for PageKind
impl StructuralPartialEq for PageKind
Auto Trait Implementations§
impl Freeze for PageKind
impl RefUnwindSafe for PageKind
impl Send for PageKind
impl Sync for PageKind
impl Unpin for PageKind
impl UnsafeUnpin for PageKind
impl UnwindSafe for PageKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more