#[repr(transparent)]pub struct HvPartitionPropertyCode(pub u32);Expand description
Partition property codes.
Tuple Fields§
§0: u32Implementations§
Source§impl HvPartitionPropertyCode
impl HvPartitionPropertyCode
pub const PrivilegeFlags: HvPartitionPropertyCode
pub const SyntheticProcFeatures: HvPartitionPropertyCode
pub const AllowedParentUserModeHypercalls: HvPartitionPropertyCode
pub const Suspend: HvPartitionPropertyCode
pub const CpuReserve: HvPartitionPropertyCode
pub const CpuCap: HvPartitionPropertyCode
pub const CpuWeight: HvPartitionPropertyCode
pub const CpuGroupId: HvPartitionPropertyCode
pub const HierarchicalIntegratedSchedulerEnabled: HvPartitionPropertyCode
pub const TimeFreeze: HvPartitionPropertyCode
pub const ApicFrequency: HvPartitionPropertyCode
pub const ReferenceTime: HvPartitionPropertyCode
pub const DebugChannelId: HvPartitionPropertyCode
pub const DebugChannelId0: HvPartitionPropertyCode
pub const DebugChannelId1: HvPartitionPropertyCode
pub const DebugChannelId2: HvPartitionPropertyCode
pub const VirtualTlbPageCount: HvPartitionPropertyCode
pub const VsmConfig: HvPartitionPropertyCode
pub const ZeroMemoryOnReset: HvPartitionPropertyCode
pub const ProcessorsPerSocket: HvPartitionPropertyCode
pub const NestedTlbSize: HvPartitionPropertyCode
pub const GpaPageAccessTracking: HvPartitionPropertyCode
pub const VsmPermissionsDirtySinceLastQuery: HvPartitionPropertyCode
pub const SgxLaunchControlConfig: HvPartitionPropertyCode
pub const DefaultSgxLaunchControl0: HvPartitionPropertyCode
pub const DefaultSgxLaunchControl1: HvPartitionPropertyCode
pub const DefaultSgxLaunchControl2: HvPartitionPropertyCode
pub const DefaultSgxLaunchControl3: HvPartitionPropertyCode
pub const IsolationState: HvPartitionPropertyCode
pub const IsolationControl: HvPartitionPropertyCode
pub const AllocationId: HvPartitionPropertyCode
pub const MonitoringId: HvPartitionPropertyCode
pub const ImplementedPhysicalAddressBits: HvPartitionPropertyCode
pub const NonArchitecturalCoreSharing: HvPartitionPropertyCode
pub const HypercallDoorbellPage: HvPartitionPropertyCode
pub const CppcRequestValue: HvPartitionPropertyCode
pub const IsolationPolicy: HvPartitionPropertyCode
pub const DmaCapableDevices: HvPartitionPropertyCode
pub const ProcessorsPerL3: HvPartitionPropertyCode
pub const UnimplementedMsrAction: HvPartitionPropertyCode
pub const AmdNodesPerSocket: HvPartitionPropertyCode
pub const ReferenceTscPageActive: HvPartitionPropertyCode
pub const AutoEoiEnabled: HvPartitionPropertyCode
pub const L3CacheWays: HvPartitionPropertyCode
pub const IsolationType: HvPartitionPropertyCode
pub const PerfmonMode: HvPartitionPropertyCode
pub const DepositStatus: HvPartitionPropertyCode
pub const Mirroring: HvPartitionPropertyCode
pub const MirrorState: HvPartitionPropertyCode
pub const MgmtVtlMaxMemorySections: HvPartitionPropertyCode
pub const SevVmgexitOffloads: HvPartitionPropertyCode
pub const PenalizeBusLock: HvPartitionPropertyCode
pub const TopologyApicIdOptIn: HvPartitionPropertyCode
pub const CppcResourcePrioritiesValue: HvPartitionPropertyCode
pub const PartitionDiagBufferConfig: HvPartitionPropertyCode
pub const GicdBaseAddress: HvPartitionPropertyCode
pub const GitsTranslaterBaseAddress: HvPartitionPropertyCode
pub const GicLpiIntIdBits: HvPartitionPropertyCode
pub const GicPpiOverflowInterruptFromCntv: HvPartitionPropertyCode
pub const GicPpiOverflowInterruptFromCntp: HvPartitionPropertyCode
pub const GicPpiPerformanceMonitorsInterrupt: HvPartitionPropertyCode
pub const GicPpiPmbirq: HvPartitionPropertyCode
pub const TdMigrationStreamCount: HvPartitionPropertyCode
pub const AutoSuspend: HvPartitionPropertyCode
pub const SintReservedInterruptId: HvPartitionPropertyCode
pub const GpaPinningEnabled: HvPartitionPropertyCode
pub const TdMigrationMaxStreamCount: HvPartitionPropertyCode
pub const TdMigrationNumMemScanContext: HvPartitionPropertyCode
pub const TdMigrationMaxMemScanRanges: HvPartitionPropertyCode
pub const ProcessorVendor: HvPartitionPropertyCode
pub const ProcessorFeaturesDeprecated: HvPartitionPropertyCode
pub const ProcessorXsaveFeatures: HvPartitionPropertyCode
pub const ProcessorCLFlushSize: HvPartitionPropertyCode
pub const EnlightenmentModifications: HvPartitionPropertyCode
pub const CompatibilityVersion: HvPartitionPropertyCode
pub const PhysicalAddressWidth: HvPartitionPropertyCode
pub const XsaveStates: HvPartitionPropertyCode
pub const MaxXsaveDataSize: HvPartitionPropertyCode
pub const ProcessorClockFrequency: HvPartitionPropertyCode
pub const ProcessorFeatures0: HvPartitionPropertyCode
pub const ProcessorFeatures1: HvPartitionPropertyCode
pub const ProcessorCtrEl0: HvPartitionPropertyCode
pub const ProcessorDczidEl0: HvPartitionPropertyCode
pub const ProcessorIchVtrEl2: HvPartitionPropertyCode
pub const ProcessorIdAa64Dfr0El1: HvPartitionPropertyCode
pub const RootProcessorFeatures0: HvPartitionPropertyCode
pub const RootProcessorFeatures1: HvPartitionPropertyCode
pub const RootProcessorXsaveFeatures: HvPartitionPropertyCode
pub const RootSyntheticProcFeatures: HvPartitionPropertyCode
pub const PhysicalAddressSize: HvPartitionPropertyCode
pub const FeatureBankCount: HvPartitionPropertyCode
pub const ProcessorIdAa64Dfr1El1: HvPartitionPropertyCode
pub const ProcessorCntfrqEl0: HvPartitionPropertyCode
pub const MaxSveVectorLength: HvPartitionPropertyCode
pub const MaxSmeStreamingVectorLength: HvPartitionPropertyCode
pub const GuestOsId: HvPartitionPropertyCode
pub const ProcessorVirtualizationFeatures: HvPartitionPropertyCode
pub const MaxHardwareIsolatedGuests: HvPartitionPropertyCode
pub const SnpEnabled: HvPartitionPropertyCode
pub const NestedVmxBasic: HvPartitionPropertyCode
pub const NestedVmxPinbasedCtls: HvPartitionPropertyCode
pub const NestedVmxProcbasedCtls: HvPartitionPropertyCode
pub const NestedVmxExitCtls: HvPartitionPropertyCode
pub const NestedVmxEntryCtls: HvPartitionPropertyCode
pub const NestedVmxMisc: HvPartitionPropertyCode
pub const NestedVmxCr0Fixed0: HvPartitionPropertyCode
pub const NestedVmxCr0Fixed1: HvPartitionPropertyCode
pub const NestedVmxCr4Fixed0: HvPartitionPropertyCode
pub const NestedVmxCr4Fixed1: HvPartitionPropertyCode
pub const NestedVmxVmcsEnum: HvPartitionPropertyCode
pub const NestedVmxProcbasedCtls2: HvPartitionPropertyCode
pub const NestedVmxEptVpidCap: HvPartitionPropertyCode
pub const NestedVmxTruePinbasedCtls: HvPartitionPropertyCode
pub const NestedVmxTrueProcbasedCtls: HvPartitionPropertyCode
pub const NestedVmxTrueExitCtls: HvPartitionPropertyCode
pub const NestedVmxTrueEntryCtls: HvPartitionPropertyCode
pub const NestedVmxProcbasedCtls3: HvPartitionPropertyCode
pub const NestedVmxExitCtls2: HvPartitionPropertyCode
pub const VhState: HvPartitionPropertyCode
pub const MaxHierarchicalPartitionCount: HvPartitionPropertyCode
pub const MaxHierarchicalVpCount: HvPartitionPropertyCode
pub const StateTransferMode: HvPartitionPropertyCode
pub const MigrationAbortCleanupCount: HvPartitionPropertyCode
pub const TdComprehensiveReset: HvPartitionPropertyCode
pub const InheritedDeviceDomainReservedRegions: HvPartitionPropertyCode
pub const TdMrConfigId: HvPartitionPropertyCode
pub const TdMrOwner: HvPartitionPropertyCode
pub const TdMrOwnerConfig: HvPartitionPropertyCode
pub const VNUMATopologyConfig: HvPartitionPropertyCode
pub const VmmCapabilities: HvPartitionPropertyCode
pub const CompletePartitionIntercept: HvPartitionPropertyCode
pub const AssignableSyntheticProcFeatures: HvPartitionPropertyCode
pub const HwIsolationTdxSupported: HvPartitionPropertyCode
pub const HwIsolationSevSupported: HvPartitionPropertyCode
pub const MigrationTdInfoHash: HvPartitionPropertyCode
pub const MigrationTdBindingSlot: HvPartitionPropertyCode
pub const DisabledProcessorFeaturesEx: HvPartitionPropertyCode
pub const RootProcessorFeaturesEx: HvPartitionPropertyCode
pub const EnabledProcessorFeaturesEx: HvPartitionPropertyCode
pub const PmuEventTypes: HvPartitionPropertyCode
pub const TdComprehensiveConfigure: HvPartitionPropertyCode
Trait Implementations§
Source§impl Clone for HvPartitionPropertyCode
impl Clone for HvPartitionPropertyCode
Source§fn clone(&self) -> HvPartitionPropertyCode
fn clone(&self) -> HvPartitionPropertyCode
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 HvPartitionPropertyCode
impl Debug for HvPartitionPropertyCode
Source§impl FromBytes for HvPartitionPropertyCodewhere
u32: FromBytes,
impl FromBytes for HvPartitionPropertyCodewhere
u32: FromBytes,
§fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
Interprets the suffix of the given bytes as a
&Self. Read more§fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
Source§impl FromZeros for HvPartitionPropertyCodewhere
u32: FromZeros,
impl FromZeros for HvPartitionPropertyCodewhere
u32: FromZeros,
§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 Hash for HvPartitionPropertyCode
impl Hash for HvPartitionPropertyCode
Source§impl IntoBytes for HvPartitionPropertyCodewhere
u32: IntoBytes,
impl IntoBytes for HvPartitionPropertyCodewhere
u32: IntoBytes,
§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
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl KnownLayout for HvPartitionPropertyCodewhere
Self: Sized,
impl KnownLayout for HvPartitionPropertyCodewhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
The type of metadata stored in a pointer to
Self. Read more§fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
Computes the size of an object of type
Self with the given pointer
metadata. Read moreSource§impl Ord for HvPartitionPropertyCode
impl Ord for HvPartitionPropertyCode
Source§fn cmp(&self, other: &HvPartitionPropertyCode) -> Ordering
fn cmp(&self, other: &HvPartitionPropertyCode) -> 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 HvPartitionPropertyCode
impl PartialEq for HvPartitionPropertyCode
Source§impl PartialOrd for HvPartitionPropertyCode
impl PartialOrd for HvPartitionPropertyCode
Source§impl TryFromBytes for HvPartitionPropertyCodewhere
u32: TryFromBytes,
impl TryFromBytes for HvPartitionPropertyCodewhere
u32: TryFromBytes,
§fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
§fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
§fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
§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 HvPartitionPropertyCode
impl Eq for HvPartitionPropertyCode
impl Immutable for HvPartitionPropertyCodewhere
u32: Immutable,
impl StructuralPartialEq for HvPartitionPropertyCode
Auto Trait Implementations§
impl Freeze for HvPartitionPropertyCode
impl RefUnwindSafe for HvPartitionPropertyCode
impl Send for HvPartitionPropertyCode
impl Sync for HvPartitionPropertyCode
impl Unpin for HvPartitionPropertyCode
impl UnsafeUnpin for HvPartitionPropertyCode
impl UnwindSafe for HvPartitionPropertyCode
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