Struct hvdef::HvX64ExceptionInterceptMessage
source · #[repr(C)]pub struct HvX64ExceptionInterceptMessage {Show 26 fields
pub header: HvX64InterceptMessageHeader,
pub vector: u16,
pub exception_info: HvX64ExceptionInfo,
pub instruction_byte_count: u8,
pub error_code: u32,
pub exception_parameter: u64,
pub reserved: u64,
pub instruction_bytes: [u8; 16],
pub ds_segment: HvX64SegmentRegister,
pub ss_segment: HvX64SegmentRegister,
pub rax: u64,
pub rcx: u64,
pub rdx: u64,
pub rbx: u64,
pub rsp: u64,
pub rbp: u64,
pub rsi: u64,
pub rdi: u64,
pub r8: u64,
pub r9: u64,
pub r10: u64,
pub r11: u64,
pub r12: u64,
pub r13: u64,
pub r14: u64,
pub r15: u64,
}
Fields§
§header: HvX64InterceptMessageHeader
§vector: u16
§exception_info: HvX64ExceptionInfo
§instruction_byte_count: u8
§error_code: u32
§exception_parameter: u64
§reserved: u64
§instruction_bytes: [u8; 16]
§ds_segment: HvX64SegmentRegister
§ss_segment: HvX64SegmentRegister
§rax: u64
§rcx: u64
§rdx: u64
§rbx: u64
§rsp: u64
§rbp: u64
§rsi: u64
§rdi: u64
§r8: u64
§r9: u64
§r10: u64
§r11: u64
§r12: u64
§r13: u64
§r14: u64
§r15: u64
Trait Implementations§
source§impl AsBytes for HvX64ExceptionInterceptMessagewhere
HvX64InterceptMessageHeader: AsBytes,
u16: AsBytes,
HvX64ExceptionInfo: AsBytes,
u8: AsBytes,
u32: AsBytes,
u64: AsBytes,
[u8; 16]: AsBytes,
HvX64SegmentRegister: AsBytes,
HasPadding<HvX64ExceptionInterceptMessage, { _ }>: ShouldBe<false>,
impl AsBytes for HvX64ExceptionInterceptMessagewhere
HvX64InterceptMessageHeader: AsBytes,
u16: AsBytes,
HvX64ExceptionInfo: AsBytes,
u8: AsBytes,
u32: AsBytes,
u64: AsBytes,
[u8; 16]: AsBytes,
HvX64SegmentRegister: AsBytes,
HasPadding<HvX64ExceptionInterceptMessage, { _ }>: 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 HvX64ExceptionInterceptMessagewhere
HvX64InterceptMessageHeader: FromBytes,
u16: FromBytes,
HvX64ExceptionInfo: FromBytes,
u8: FromBytes,
u32: FromBytes,
u64: FromBytes,
[u8; 16]: FromBytes,
HvX64SegmentRegister: FromBytes,
impl FromBytes for HvX64ExceptionInterceptMessagewhere
HvX64InterceptMessageHeader: FromBytes,
u16: FromBytes,
HvX64ExceptionInfo: 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 HvX64ExceptionInterceptMessagewhere
HvX64InterceptMessageHeader: FromZeroes,
u16: FromZeroes,
HvX64ExceptionInfo: FromZeroes,
u8: FromZeroes,
u32: FromZeroes,
u64: FromZeroes,
[u8; 16]: FromZeroes,
HvX64SegmentRegister: FromZeroes,
impl FromZeroes for HvX64ExceptionInterceptMessagewhere
HvX64InterceptMessageHeader: FromZeroes,
u16: FromZeroes,
HvX64ExceptionInfo: 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 HvX64ExceptionInterceptMessage
impl RefUnwindSafe for HvX64ExceptionInterceptMessage
impl Send for HvX64ExceptionInterceptMessage
impl Sync for HvX64ExceptionInterceptMessage
impl Unpin for HvX64ExceptionInterceptMessage
impl UnwindSafe for HvX64ExceptionInterceptMessage
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