pub enum UnmapResult {
    Exclusive(UnmappedFrames),
    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 UnmappedFrames 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(UnmappedFrames)

§

NonExclusive(FrameRange)

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.