pub struct HvX64PendingVirtualizationFaultEvent(/* private fields */);
Expand description
Provides information about a virtualization fault.
Implementations§
source§impl HvX64PendingVirtualizationFaultEvent
impl HvX64PendingVirtualizationFaultEvent
sourcepub const fn event_pending(&self) -> bool
pub const fn event_pending(&self) -> bool
Bits: 0..1
sourcepub const fn with_event_pending(self, value: bool) -> Self
pub const fn with_event_pending(self, value: bool) -> Self
Bits: 0..1
sourcepub fn set_event_pending(&mut self, value: bool)
pub fn set_event_pending(&mut self, value: bool)
Bits: 0..1
sourcepub const fn event_type(&self) -> u8
pub const fn event_type(&self) -> u8
Bits: 1..4
sourcepub const fn with_event_type(self, value: u8) -> Self
pub const fn with_event_type(self, value: u8) -> Self
Bits: 1..4
sourcepub fn set_event_type(&mut self, value: u8)
pub fn set_event_type(&mut self, value: u8)
Bits: 1..4
sourcepub const fn with_reserved0(self, value: u8) -> Self
pub const fn with_reserved0(self, value: u8) -> Self
Bits: 4..8
sourcepub fn set_reserved0(&mut self, value: u8)
pub fn set_reserved0(&mut self, value: u8)
Bits: 4..8
sourcepub const fn with_reserved1(self, value: u8) -> Self
pub const fn with_reserved1(self, value: u8) -> Self
Bits: 8..16
sourcepub fn set_reserved1(&mut self, value: u8)
pub fn set_reserved1(&mut self, value: u8)
Bits: 8..16
sourcepub const fn parameter0(&self) -> u16
pub const fn parameter0(&self) -> u16
Bits: 16..32
sourcepub const fn with_parameter0(self, value: u16) -> Self
pub const fn with_parameter0(self, value: u16) -> Self
Bits: 16..32
sourcepub fn set_parameter0(&mut self, value: u16)
pub fn set_parameter0(&mut self, value: u16)
Bits: 16..32
sourcepub const fn parameter1(&self) -> u64
pub const fn parameter1(&self) -> u64
Bits: 64..128
sourcepub const fn with_parameter1(self, value: u64) -> Self
pub const fn with_parameter1(self, value: u64) -> Self
Bits: 64..128
sourcepub fn set_parameter1(&mut self, value: u64)
pub fn set_parameter1(&mut self, value: u64)
Bits: 64..128
Trait Implementations§
source§impl Clone for HvX64PendingVirtualizationFaultEvent
impl Clone for HvX64PendingVirtualizationFaultEvent
source§fn clone(&self) -> HvX64PendingVirtualizationFaultEvent
fn clone(&self) -> HvX64PendingVirtualizationFaultEvent
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 From<HvX64PendingVirtualizationFaultEvent> for u128
impl From<HvX64PendingVirtualizationFaultEvent> for u128
source§fn from(v: HvX64PendingVirtualizationFaultEvent) -> u128
fn from(v: HvX64PendingVirtualizationFaultEvent) -> u128
Converts to this type from the input type.
impl Copy for HvX64PendingVirtualizationFaultEvent
Auto Trait Implementations§
impl Freeze for HvX64PendingVirtualizationFaultEvent
impl RefUnwindSafe for HvX64PendingVirtualizationFaultEvent
impl Send for HvX64PendingVirtualizationFaultEvent
impl Sync for HvX64PendingVirtualizationFaultEvent
impl Unpin for HvX64PendingVirtualizationFaultEvent
impl UnwindSafe for HvX64PendingVirtualizationFaultEvent
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
)