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
sourceimpl Clone for FrameError
impl Clone for FrameError
sourcefn clone(&self) -> FrameError
fn clone(&self) -> FrameError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FrameError
impl Debug for FrameError
sourceimpl PartialEq<FrameError> for FrameError
impl PartialEq<FrameError> for FrameError
impl Copy for FrameError
impl StructuralPartialEq for FrameError
Auto Trait Implementations
impl RefUnwindSafe for FrameError
impl Send for FrameError
impl Sync for FrameError
impl Unpin for FrameError
impl UnwindSafe for FrameError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more