pub struct PageTableMapDeposit<T: TableMeta, A: FrameAllocator> { /* private fields */ }Expand description
Move-only ownership of a detached page-table suffix for one exact leaf.
Dropping an unconsumed deposit releases only unpublished table frames. A successful apply transfers those frames into the live page-table tree and disarms the deposit. The target address, physical address, leaf size and PTE configuration are bound during prepare and cannot be redirected by the apply caller.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, A> Freeze for PageTableMapDeposit<T, A>where
PageTableMapPlan<T, A>: Freeze,
<<T as TableMeta>::P as PageTableEntry>::PteConfig: Freeze,
Option<ReservedMapPath<T, A>>: Freeze,
impl<T, A> RefUnwindSafe for PageTableMapDeposit<T, A>where
PageTableMapPlan<T, A>: RefUnwindSafe,
<<T as TableMeta>::P as PageTableEntry>::PteConfig: RefUnwindSafe,
Option<ReservedMapPath<T, A>>: RefUnwindSafe,
impl<T, A> Send for PageTableMapDeposit<T, A>where
PageTableMapPlan<T, A>: Send,
<<T as TableMeta>::P as PageTableEntry>::PteConfig: Send,
Option<ReservedMapPath<T, A>>: Send,
impl<T, A> Sync for PageTableMapDeposit<T, A>where
PageTableMapPlan<T, A>: Sync,
<<T as TableMeta>::P as PageTableEntry>::PteConfig: Sync,
Option<ReservedMapPath<T, A>>: Sync,
impl<T, A> Unpin for PageTableMapDeposit<T, A>where
PageTableMapPlan<T, A>: Unpin,
<<T as TableMeta>::P as PageTableEntry>::PteConfig: Unpin,
Option<ReservedMapPath<T, A>>: Unpin,
impl<T, A> UnsafeUnpin for PageTableMapDeposit<T, A>where
PageTableMapPlan<T, A>: UnsafeUnpin,
<<T as TableMeta>::P as PageTableEntry>::PteConfig: UnsafeUnpin,
Option<ReservedMapPath<T, A>>: UnsafeUnpin,
impl<T, A> UnwindSafe for PageTableMapDeposit<T, A>where
PageTableMapPlan<T, A>: UnwindSafe,
<<T as TableMeta>::P as PageTableEntry>::PteConfig: UnwindSafe,
Option<ReservedMapPath<T, A>>: UnwindSafe,
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