pub enum PageTableError {
InvalidVaddrRange(Vaddr, Vaddr),
InvalidVaddr(Vaddr),
UnalignedVaddr,
}Variants§
InvalidVaddrRange(Vaddr, Vaddr)
The provided virtual address range is invalid.
InvalidVaddr(Vaddr)
The provided virtual address is invalid.
UnalignedVaddr
Using virtual address not aligned.
Implementations§
Source§impl PageTableError
impl PageTableError
pub fn arrow_1(self) -> Vaddr
pub fn arrow_0(self) -> Vaddr
pub fn arrow_InvalidVaddrRange_0(self) -> Vaddr
pub fn arrow_InvalidVaddrRange_1(self) -> Vaddr
pub fn arrow_InvalidVaddr_0(self) -> Vaddr
Trait Implementations§
Source§impl Clone for PageTableError
impl Clone for PageTableError
Source§fn clone(&self) -> PageTableError
fn clone(&self) -> PageTableError
Returns a duplicate 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 PageTableError
impl Debug for PageTableError
Source§impl From<PageTableError> for Error
impl From<PageTableError> for Error
Source§fn from(_err: PageTableError) -> Error
fn from(_err: PageTableError) -> Error
Converts to this type from the input type.
Source§impl PartialEq for PageTableError
impl PartialEq for PageTableError
impl Copy for PageTableError
impl Eq for PageTableError
impl StructuralPartialEq for PageTableError
Auto Trait Implementations§
impl Freeze for PageTableError
impl RefUnwindSafe for PageTableError
impl Send for PageTableError
impl Sync for PageTableError
impl Unpin for PageTableError
impl UnwindSafe for PageTableError
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