Enum x86_64::structures::paging::page_table::FrameError
source · pub enum FrameError {
FrameNotPresent,
HugeFrame,
}
Expand description
The error returned by the PageTableEntry::frame
method.
Variants§
FrameNotPresent
The entry does not have the PRESENT
flag set, so it isn’t currently mapped to a frame.
HugeFrame
The entry does have the HUGE_PAGE
flag set. The frame
method has a standard 4KiB frame
as return type, so a huge frame can’t be returned.
Trait Implementations§
source§impl Clone for FrameError
impl Clone for FrameError
source§fn clone(&self) -> FrameError
fn clone(&self) -> FrameError
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more