Struct hvdef::HvX64IoPortInterceptMessage
source · #[repr(C)]pub struct HvX64IoPortInterceptMessage {
pub header: HvX64InterceptMessageHeader,
pub port_number: u16,
pub access_info: HvX64IoPortAccessInfo,
pub instruction_byte_count: u8,
pub reserved: u32,
pub rax: u64,
pub instruction_bytes: [u8; 16],
pub ds_segment: HvX64SegmentRegister,
pub es_segment: HvX64SegmentRegister,
pub rcx: u64,
pub rsi: u64,
pub rdi: u64,
}
Fields§
§header: HvX64InterceptMessageHeader
§port_number: u16
§access_info: HvX64IoPortAccessInfo
§instruction_byte_count: u8
§reserved: u32
§rax: u64
§instruction_bytes: [u8; 16]
§ds_segment: HvX64SegmentRegister
§es_segment: HvX64SegmentRegister
§rcx: u64
§rsi: u64
§rdi: u64
Trait Implementations§
source§impl AsBytes for HvX64IoPortInterceptMessagewhere
HvX64InterceptMessageHeader: AsBytes,
u16: AsBytes,
HvX64IoPortAccessInfo: AsBytes,
u8: AsBytes,
u32: AsBytes,
u64: AsBytes,
[u8; 16]: AsBytes,
HvX64SegmentRegister: AsBytes,
HasPadding<HvX64IoPortInterceptMessage, { _ }>: ShouldBe<false>,
impl AsBytes for HvX64IoPortInterceptMessagewhere
HvX64InterceptMessageHeader: AsBytes,
u16: AsBytes,
HvX64IoPortAccessInfo: AsBytes,
u8: AsBytes,
u32: AsBytes,
u64: AsBytes,
[u8; 16]: AsBytes,
HvX64SegmentRegister: AsBytes,
HasPadding<HvX64IoPortInterceptMessage, { _ }>: 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 Debug for HvX64IoPortInterceptMessage
impl Debug for HvX64IoPortInterceptMessage
source§impl FromBytes for HvX64IoPortInterceptMessagewhere
HvX64InterceptMessageHeader: FromBytes,
u16: FromBytes,
HvX64IoPortAccessInfo: FromBytes,
u8: FromBytes,
u32: FromBytes,
u64: FromBytes,
[u8; 16]: FromBytes,
HvX64SegmentRegister: FromBytes,
impl FromBytes for HvX64IoPortInterceptMessagewhere
HvX64InterceptMessageHeader: FromBytes,
u16: FromBytes,
HvX64IoPortAccessInfo: FromBytes,
u8: FromBytes,
u32: FromBytes,
u64: FromBytes,
[u8; 16]: FromBytes,
HvX64SegmentRegister: 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 HvX64IoPortInterceptMessagewhere
HvX64InterceptMessageHeader: FromZeroes,
u16: FromZeroes,
HvX64IoPortAccessInfo: FromZeroes,
u8: FromZeroes,
u32: FromZeroes,
u64: FromZeroes,
[u8; 16]: FromZeroes,
HvX64SegmentRegister: FromZeroes,
impl FromZeroes for HvX64IoPortInterceptMessagewhere
HvX64InterceptMessageHeader: FromZeroes,
u16: FromZeroes,
HvX64IoPortAccessInfo: FromZeroes,
u8: FromZeroes,
u32: FromZeroes,
u64: FromZeroes,
[u8; 16]: FromZeroes,
HvX64SegmentRegister: 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 HvX64IoPortInterceptMessage
impl RefUnwindSafe for HvX64IoPortInterceptMessage
impl Send for HvX64IoPortInterceptMessage
impl Sync for HvX64IoPortInterceptMessage
impl Unpin for HvX64IoPortInterceptMessage
impl UnwindSafe for HvX64IoPortInterceptMessage
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