#[repr(C, align(4096))]pub struct GhcbPageHvHypercall {
pub data: [u8; 4072],
pub output_gpa: u64,
pub io: u64,
pub reserved: u64,
}Expand description
GHCB layout for the secure enlightened Hyper-V hypercalls.
Fields§
§data: [u8; 4072]§output_gpa: u64§io: u64§reserved: u64Trait Implementations§
Source§impl Clone for GhcbPageHvHypercall
impl Clone for GhcbPageHvHypercall
Source§fn clone(&self) -> GhcbPageHvHypercall
fn clone(&self) -> GhcbPageHvHypercall
Returns a duplicate 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 GhcbPageHvHypercall
impl Debug for GhcbPageHvHypercall
Source§impl FromBytes for GhcbPageHvHypercall
impl FromBytes for GhcbPageHvHypercall
Source§impl FromZeros for GhcbPageHvHypercall
impl FromZeros for GhcbPageHvHypercall
§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() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read more§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§impl IntoBytes for GhcbPageHvHypercall
impl IntoBytes for GhcbPageHvHypercall
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§impl TryFromBytes for GhcbPageHvHypercall
impl TryFromBytes for GhcbPageHvHypercall
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for GhcbPageHvHypercall
Auto Trait Implementations§
impl Freeze for GhcbPageHvHypercall
impl RefUnwindSafe for GhcbPageHvHypercall
impl Send for GhcbPageHvHypercall
impl Sync for GhcbPageHvHypercall
impl Unpin for GhcbPageHvHypercall
impl UnsafeUnpin for GhcbPageHvHypercall
impl UnwindSafe for GhcbPageHvHypercall
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