Enum x86_64::structures::paging::mapper::TranslateResult [−][src]
The return value of the Translate::translate
function.
If the given address has a valid mapping, a Frame4KiB
, Frame2MiB
, or Frame1GiB
variant
is returned, depending on the size of the mapped page. The remaining variants indicate errors.
Variants
The virtual address is mapped to a physical frame.
Fields of Mapped
frame: MappedFrame
The mapped frame.
offset: u64
The offset whithin the mapped frame.
flags: PageTableFlags
The entry flags in the lowest-level page table.
Flags of higher-level page table entries are not included here, but they can still affect the effective flags for an address, for example when the WRITABLE flag is not set for a level 3 entry.
The given virtual address is not mapped to a physical frame.
InvalidFrameAddress(PhysAddr)
The page table entry for the given virtual address points to an invalid physical address.
Trait Implementations
Auto Trait Implementations
impl Send for TranslateResult
[src]
impl Sync for TranslateResult
[src]
impl Unpin for TranslateResult
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,