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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FrameError
impl Debug for FrameError
Source§impl PartialEq for FrameError
impl PartialEq for FrameError
impl Copy for FrameError
impl StructuralPartialEq for FrameError
Auto Trait Implementations§
impl Freeze for FrameError
impl RefUnwindSafe for FrameError
impl Send for FrameError
impl Sync for FrameError
impl Unpin for FrameError
impl UnwindSafe for FrameError
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