Enum page_table_entry::UnmapResult
source · pub enum UnmapResult {
Exclusive(UnmappedFrameRange),
NonExclusive(FrameRange),
}
Expand description
The frames returned from the action of unmapping a page table entry.
See the PageTableEntry::set_unmapped()
function.
If exclusive, the contained UnmappedFrameRange
can be used to deallocate frames.
If non-exclusive, the contained FrameRange
is provided just for debugging feedback.
Note that we use FrameRange
instead of Frame
because a single page table entry
can map many frames, e.g., using huge pages.
Variants§
Exclusive(UnmappedFrameRange)
NonExclusive(FrameRange)
Auto Trait Implementations§
impl RefUnwindSafe for UnmapResult
impl Send for UnmapResult
impl Sync for UnmapResult
impl Unpin for UnmapResult
impl UnwindSafe for UnmapResult
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