Enum UnmapError
pub enum UnmapError {
ParentEntryHugePage,
PageNotMapped,
InvalidFrameAddress(PhysAddr),
}Expand description
An error indicating that an unmap call failed.
Variants§
ParentEntryHugePage
An upper level page table entry has the HUGE_PAGE flag set, which means that the
given page is part of a huge page and can’t be freed individually.
PageNotMapped
The given page is not mapped to a physical frame.
InvalidFrameAddress(PhysAddr)
The page table entry for the given page points to an invalid physical address.
Trait Implementations§
§impl Debug for UnmapError
impl Debug for UnmapError
§impl From<PageTableWalkError> for UnmapError
impl From<PageTableWalkError> for UnmapError
§fn from(err: PageTableWalkError) -> UnmapError
fn from(err: PageTableWalkError) -> UnmapError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnmapError
impl RefUnwindSafe for UnmapError
impl Send for UnmapError
impl Sync for UnmapError
impl Unpin for UnmapError
impl UnsafeUnpin for UnmapError
impl UnwindSafe for UnmapError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more