pub enum EntryOwnerKind<C: PageTableConfig> {
Node(NodeOwner<C>),
Frame(FrameEntryOwner),
Borrowed(Set<Mapping>),
Absent,
}Variants§
Node(NodeOwner<C>)
Frame(FrameEntryOwner)
Borrowed(Set<Mapping>)
Translation-only / borrowed-sub-tree variant.
Present when the slot’s PTE references a sub-tree owned by another
page-table configuration (e.g. a user PT’s kernel-half slot
pointing at a kernel-owned sub-table). The ghost Set<Mapping>
records the mappings reachable through that sub-tree so the
embedding can reason about what the borrowed translation provides
without descending into a sub-tree it does not own. Mutually
exclusive with node, frame, and absent by construction.
Absent
Implementations§
Source§impl<C: PageTableConfig> EntryOwnerKind<C>
impl<C: PageTableConfig> EntryOwnerKind<C>
pub fn arrow_0(self) -> Set<Mapping>
pub fn arrow_Node_0(self) -> NodeOwner<C>
pub fn arrow_Frame_0(self) -> FrameEntryOwner
pub fn arrow_Borrowed_0(self) -> Set<Mapping>
Auto Trait Implementations§
impl<C> Freeze for EntryOwnerKind<C>
impl<C> RefUnwindSafe for EntryOwnerKind<C>
impl<C> Send for EntryOwnerKind<C>
impl<C> Sync for EntryOwnerKind<C>
impl<C> Unpin for EntryOwnerKind<C>
impl<C> UnsafeUnpin for EntryOwnerKind<C>
impl<C> UnwindSafe for EntryOwnerKind<C>
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