Struct hvdef::HvX64PendingEventMemoryIntercept
source · #[repr(C)]pub struct HvX64PendingEventMemoryIntercept {
pub event_header: HvX64PendingEventMemoryInterceptPendingEventHeader,
pub target_vtl: u8,
pub access_type: HvInterceptAccessType,
pub access_flags: HvX64PendingEventMemoryInterceptAccessFlags,
pub _reserved2: u32,
pub guest_linear_address: u64,
pub guest_physical_address: u64,
pub _reserved3: u64,
}
Expand description
Provides information about a memory intercept.
Fields§
§event_header: HvX64PendingEventMemoryInterceptPendingEventHeader
§target_vtl: u8
VTL at which the memory intercept is targeted. Note: This field must be in Reg0.
access_type: HvInterceptAccessType
Type of the memory access.
access_flags: HvX64PendingEventMemoryInterceptAccessFlags
§_reserved2: u32
§guest_linear_address: u64
The guest linear address that caused the fault.
guest_physical_address: u64
The guest physical address that caused the memory intercept.
_reserved3: u64
Trait Implementations§
source§impl AsBytes for HvX64PendingEventMemoryInterceptwhere
HvX64PendingEventMemoryInterceptPendingEventHeader: AsBytes,
u8: AsBytes,
HvInterceptAccessType: AsBytes,
HvX64PendingEventMemoryInterceptAccessFlags: AsBytes,
u32: AsBytes,
u64: AsBytes,
HasPadding<HvX64PendingEventMemoryIntercept, { _ }>: ShouldBe<false>,
impl AsBytes for HvX64PendingEventMemoryInterceptwhere
HvX64PendingEventMemoryInterceptPendingEventHeader: AsBytes,
u8: AsBytes,
HvInterceptAccessType: AsBytes,
HvX64PendingEventMemoryInterceptAccessFlags: AsBytes,
u32: AsBytes,
u64: AsBytes,
HasPadding<HvX64PendingEventMemoryIntercept, { _ }>: ShouldBe<false>,
§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
source§impl FromBytes for HvX64PendingEventMemoryInterceptwhere
HvX64PendingEventMemoryInterceptPendingEventHeader: FromBytes,
u8: FromBytes,
HvInterceptAccessType: FromBytes,
HvX64PendingEventMemoryInterceptAccessFlags: FromBytes,
u32: FromBytes,
u64: FromBytes,
impl FromBytes for HvX64PendingEventMemoryInterceptwhere
HvX64PendingEventMemoryInterceptPendingEventHeader: FromBytes,
u8: FromBytes,
HvInterceptAccessType: FromBytes,
HvX64PendingEventMemoryInterceptAccessFlags: FromBytes,
u32: FromBytes,
u64: FromBytes,
§fn ref_from_prefix(bytes: &[u8]) -> Option<&Self>where
Self: Sized,
fn ref_from_prefix(bytes: &[u8]) -> Option<&Self>where
Self: Sized,
§fn ref_from_suffix(bytes: &[u8]) -> Option<&Self>where
Self: Sized,
fn ref_from_suffix(bytes: &[u8]) -> Option<&Self>where
Self: Sized,
§fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>where
Self: Sized + AsBytes,
fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>where
Self: Sized + AsBytes,
§fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>where
Self: Sized + AsBytes,
fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>where
Self: Sized + AsBytes,
§fn slice_from(bytes: &[u8]) -> Option<&[Self]>where
Self: Sized,
fn slice_from(bytes: &[u8]) -> Option<&[Self]>where
Self: Sized,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>where
Self: Sized + AsBytes,
fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>where
Self: Sized + AsBytes,
§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + AsBytes,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + AsBytes,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + AsBytes,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + AsBytes,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeroes for HvX64PendingEventMemoryInterceptwhere
HvX64PendingEventMemoryInterceptPendingEventHeader: FromZeroes,
u8: FromZeroes,
HvInterceptAccessType: FromZeroes,
HvX64PendingEventMemoryInterceptAccessFlags: FromZeroes,
u32: FromZeroes,
u64: FromZeroes,
impl FromZeroes for HvX64PendingEventMemoryInterceptwhere
HvX64PendingEventMemoryInterceptPendingEventHeader: FromZeroes,
u8: FromZeroes,
HvInterceptAccessType: FromZeroes,
HvX64PendingEventMemoryInterceptAccessFlags: FromZeroes,
u32: FromZeroes,
u64: FromZeroes,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self
from zeroed bytes. Read more§fn new_box_zeroed() -> Box<Self>where
Self: Sized,
fn new_box_zeroed() -> Box<Self>where
Self: Sized,
Creates a
Box<Self>
from zeroed bytes. Read moreAuto Trait Implementations§
impl Freeze for HvX64PendingEventMemoryIntercept
impl RefUnwindSafe for HvX64PendingEventMemoryIntercept
impl Send for HvX64PendingEventMemoryIntercept
impl Sync for HvX64PendingEventMemoryIntercept
impl Unpin for HvX64PendingEventMemoryIntercept
impl UnwindSafe for HvX64PendingEventMemoryIntercept
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