Struct hvdef::hypercall::TranslateGvaResultCode
source · #[repr(transparent)]pub struct TranslateGvaResultCode(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl TranslateGvaResultCode
impl TranslateGvaResultCode
pub const SUCCESS: TranslateGvaResultCode = _
pub const PAGE_NOT_PRESENT: TranslateGvaResultCode = _
pub const PRIVILEGE_VIOLATION: TranslateGvaResultCode = _
pub const INVALID_PAGE_TABLE_FLAGS: TranslateGvaResultCode = _
pub const GPA_UNMAPPED: TranslateGvaResultCode = _
pub const GPA_NO_READ_ACCESS: TranslateGvaResultCode = _
pub const GPA_NO_WRITE_ACCESS: TranslateGvaResultCode = _
pub const GPA_ILLEGAL_OVERLAY_ACCESS: TranslateGvaResultCode = _
sourcepub const INTERCEPT: TranslateGvaResultCode = _
pub const INTERCEPT: TranslateGvaResultCode = _
Intercept of the memory access by either
- a higher VTL
- a nested hypervisor (due to a violation of the nested page table)
pub const GPA_UNACCEPTED: TranslateGvaResultCode = _
Trait Implementations§
source§impl Clone for TranslateGvaResultCode
impl Clone for TranslateGvaResultCode
source§fn clone(&self) -> TranslateGvaResultCode
fn clone(&self) -> TranslateGvaResultCode
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 TranslateGvaResultCode
impl Debug for TranslateGvaResultCode
source§impl Hash for TranslateGvaResultCode
impl Hash for TranslateGvaResultCode
source§impl Ord for TranslateGvaResultCode
impl Ord for TranslateGvaResultCode
source§fn cmp(&self, other: &TranslateGvaResultCode) -> Ordering
fn cmp(&self, other: &TranslateGvaResultCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TranslateGvaResultCode
impl PartialEq for TranslateGvaResultCode
source§impl PartialOrd for TranslateGvaResultCode
impl PartialOrd for TranslateGvaResultCode
impl Copy for TranslateGvaResultCode
impl Eq for TranslateGvaResultCode
impl StructuralPartialEq for TranslateGvaResultCode
Auto Trait Implementations§
impl Freeze for TranslateGvaResultCode
impl RefUnwindSafe for TranslateGvaResultCode
impl Send for TranslateGvaResultCode
impl Sync for TranslateGvaResultCode
impl Unpin for TranslateGvaResultCode
impl UnwindSafe for TranslateGvaResultCode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)