pub enum MappedFrame {
Size4KiB(PhysFrame<Size4KiB>),
Size2MiB(PhysFrame<Size2MiB>),
Size1GiB(PhysFrame<Size1GiB>),
}
Expand description
Represents a physical frame mapped in a page table.
Variants§
Size4KiB(PhysFrame<Size4KiB>)
The virtual address is mapped to a 4KiB frame.
Size2MiB(PhysFrame<Size2MiB>)
The virtual address is mapped to a “large” 2MiB frame.
Size1GiB(PhysFrame<Size1GiB>)
The virtual address is mapped to a “huge” 1GiB frame.
Implementations§
Source§impl MappedFrame
impl MappedFrame
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MappedFrame
impl RefUnwindSafe for MappedFrame
impl Send for MappedFrame
impl Sync for MappedFrame
impl Unpin for MappedFrame
impl UnwindSafe for MappedFrame
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