pub struct Translation {
pub physical: u64,
pub page_size: u64,
pub writable: bool,
pub user: bool,
pub executable: bool,
}Expand description
The result of a successful walk.
Fields§
§physical: u64Guest-physical address of the byte at the linear address.
page_size: u64Size of the page that maps it (4 KiB, 2 MiB, 4 MiB or 1 GiB).
writable: boolWritable at every level.
user: boolUser-accessible at every level.
executable: boolExecutable (no NX bit at any level, or NX disabled).
Trait Implementations§
Source§impl Clone for Translation
impl Clone for Translation
impl Copy for Translation
Source§impl Debug for Translation
impl Debug for Translation
impl Eq for Translation
Source§impl PartialEq for Translation
impl PartialEq for Translation
impl StructuralPartialEq for Translation
Auto Trait Implementations§
impl Freeze for Translation
impl RefUnwindSafe for Translation
impl Send for Translation
impl Sync for Translation
impl Unpin for Translation
impl UnsafeUnpin for Translation
impl UnwindSafe for Translation
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