Struct hvdef::HypercallCode
source · #[repr(transparent)]pub struct HypercallCode(pub u16);
Tuple Fields§
§0: u16
Implementations§
source§impl HypercallCode
impl HypercallCode
pub const HvCallSwitchVirtualAddressSpace: HypercallCode = _
pub const HvCallFlushVirtualAddressSpace: HypercallCode = _
pub const HvCallFlushVirtualAddressList: HypercallCode = _
pub const HvCallNotifyLongSpinWait: HypercallCode = _
pub const HvCallSendSyntheticClusterIpi: HypercallCode = _
pub const HvCallModifyVtlProtectionMask: HypercallCode = _
pub const HvCallEnablePartitionVtl: HypercallCode = _
pub const HvCallEnableVpVtl: HypercallCode = _
pub const HvCallVtlCall: HypercallCode = _
pub const HvCallVtlReturn: HypercallCode = _
pub const HvCallFlushVirtualAddressSpaceEx: HypercallCode = _
pub const HvCallFlushVirtualAddressListEx: HypercallCode = _
pub const HvCallSendSyntheticClusterIpiEx: HypercallCode = _
pub const HvCallInstallIntercept: HypercallCode = _
pub const HvCallGetVpRegisters: HypercallCode = _
pub const HvCallSetVpRegisters: HypercallCode = _
pub const HvCallTranslateVirtualAddress: HypercallCode = _
pub const HvCallPostMessage: HypercallCode = _
pub const HvCallSignalEvent: HypercallCode = _
pub const HvCallOutputDebugCharacter: HypercallCode = _
pub const HvCallRetargetDeviceInterrupt: HypercallCode = _
pub const HvCallAssertVirtualInterrupt: HypercallCode = _
pub const HvCallStartVirtualProcessor: HypercallCode = _
pub const HvCallGetVpIndexFromApicId: HypercallCode = _
pub const HvCallTranslateVirtualAddressEx: HypercallCode = _
pub const HvCallCheckForIoIntercept: HypercallCode = _
pub const HvCallFlushGuestPhysicalAddressSpace: HypercallCode = _
pub const HvCallFlushGuestPhysicalAddressList: HypercallCode = _
pub const HvCallSignalEventDirect: HypercallCode = _
pub const HvCallPostMessageDirect: HypercallCode = _
pub const HvCallCheckSparseGpaPageVtlAccess: HypercallCode = _
pub const HvCallAcceptGpaPages: HypercallCode = _
pub const HvCallModifySparseGpaPageHostVisibility: HypercallCode = _
pub const HvCallMemoryMappedIoRead: HypercallCode = _
pub const HvCallMemoryMappedIoWrite: HypercallCode = _
pub const HvCallPinGpaPageRanges: HypercallCode = _
pub const HvCallUnpinGpaPageRanges: HypercallCode = _
pub const HvCallQuerySparseGpaPageHostVisibility: HypercallCode = _
pub const HvExtCallQueryCapabilities: HypercallCode = _
Trait Implementations§
source§impl AsBytes for HypercallCodewhere
u16: AsBytes,
impl AsBytes for HypercallCodewhere
u16: AsBytes,
§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 Clone for HypercallCode
impl Clone for HypercallCode
source§fn clone(&self) -> HypercallCode
fn clone(&self) -> HypercallCode
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 Debug for HypercallCode
impl Debug for HypercallCode
source§impl FromBytes for HypercallCodewhere
u16: FromBytes,
impl FromBytes for HypercallCodewhere
u16: 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 HypercallCodewhere
u16: FromZeroes,
impl FromZeroes for HypercallCodewhere
u16: 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 moresource§impl Hash for HypercallCode
impl Hash for HypercallCode
source§impl Ord for HypercallCode
impl Ord for HypercallCode
source§fn cmp(&self, other: &HypercallCode) -> Ordering
fn cmp(&self, other: &HypercallCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for HypercallCode
impl PartialEq for HypercallCode
source§impl PartialOrd for HypercallCode
impl PartialOrd for HypercallCode
impl Copy for HypercallCode
impl Eq for HypercallCode
impl StructuralPartialEq for HypercallCode
Auto Trait Implementations§
impl Freeze for HypercallCode
impl RefUnwindSafe for HypercallCode
impl Send for HypercallCode
impl Sync for HypercallCode
impl Unpin for HypercallCode
impl UnwindSafe for HypercallCode
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
)