pub struct HvHardwareFeatures(/* private fields */);
Implementations§
Source§impl HvHardwareFeatures
impl HvHardwareFeatures
Sourcepub const fn apic_overlay_assist_in_use(&self) -> bool
pub const fn apic_overlay_assist_in_use(&self) -> bool
Bits: 0..1
Sourcepub const fn with_apic_overlay_assist_in_use(self, value: bool) -> Self
pub const fn with_apic_overlay_assist_in_use(self, value: bool) -> Self
Bits: 0..1
Sourcepub fn set_apic_overlay_assist_in_use(&mut self, value: bool)
pub fn set_apic_overlay_assist_in_use(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn msr_bitmaps_in_use(&self) -> bool
pub const fn msr_bitmaps_in_use(&self) -> bool
Bits: 1..2
Sourcepub const fn with_msr_bitmaps_in_use(self, value: bool) -> Self
pub const fn with_msr_bitmaps_in_use(self, value: bool) -> Self
Bits: 1..2
Sourcepub fn set_msr_bitmaps_in_use(&mut self, value: bool)
pub fn set_msr_bitmaps_in_use(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn architectural_performance_counters_in_use(&self) -> bool
pub const fn architectural_performance_counters_in_use(&self) -> bool
Bits: 2..3
Sourcepub const fn with_architectural_performance_counters_in_use(
self,
value: bool,
) -> Self
pub const fn with_architectural_performance_counters_in_use( self, value: bool, ) -> Self
Bits: 2..3
Sourcepub fn set_architectural_performance_counters_in_use(&mut self, value: bool)
pub fn set_architectural_performance_counters_in_use(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn second_level_address_translation_in_use(&self) -> bool
pub const fn second_level_address_translation_in_use(&self) -> bool
Bits: 3..4
Sourcepub const fn with_second_level_address_translation_in_use(
self,
value: bool,
) -> Self
pub const fn with_second_level_address_translation_in_use( self, value: bool, ) -> Self
Bits: 3..4
Sourcepub fn set_second_level_address_translation_in_use(&mut self, value: bool)
pub fn set_second_level_address_translation_in_use(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn dma_remapping_in_use(&self) -> bool
pub const fn dma_remapping_in_use(&self) -> bool
Bits: 4..5
Sourcepub const fn with_dma_remapping_in_use(self, value: bool) -> Self
pub const fn with_dma_remapping_in_use(self, value: bool) -> Self
Bits: 4..5
Sourcepub fn set_dma_remapping_in_use(&mut self, value: bool)
pub fn set_dma_remapping_in_use(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn interrupt_remapping_in_use(&self) -> bool
pub const fn interrupt_remapping_in_use(&self) -> bool
Bits: 5..6
Sourcepub const fn with_interrupt_remapping_in_use(self, value: bool) -> Self
pub const fn with_interrupt_remapping_in_use(self, value: bool) -> Self
Bits: 5..6
Sourcepub fn set_interrupt_remapping_in_use(&mut self, value: bool)
pub fn set_interrupt_remapping_in_use(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn memory_patrol_scrubber_present(&self) -> bool
pub const fn memory_patrol_scrubber_present(&self) -> bool
Bits: 6..7
Sourcepub const fn with_memory_patrol_scrubber_present(self, value: bool) -> Self
pub const fn with_memory_patrol_scrubber_present(self, value: bool) -> Self
Bits: 6..7
Sourcepub fn set_memory_patrol_scrubber_present(&mut self, value: bool)
pub fn set_memory_patrol_scrubber_present(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn dma_protection_in_use(&self) -> bool
pub const fn dma_protection_in_use(&self) -> bool
Bits: 7..8
Sourcepub const fn with_dma_protection_in_use(self, value: bool) -> Self
pub const fn with_dma_protection_in_use(self, value: bool) -> Self
Bits: 7..8
Sourcepub fn set_dma_protection_in_use(&mut self, value: bool)
pub fn set_dma_protection_in_use(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn hpet_requested(&self) -> bool
pub const fn hpet_requested(&self) -> bool
Bits: 8..9
Sourcepub const fn with_hpet_requested(self, value: bool) -> Self
pub const fn with_hpet_requested(self, value: bool) -> Self
Bits: 8..9
Sourcepub fn set_hpet_requested(&mut self, value: bool)
pub fn set_hpet_requested(&mut self, value: bool)
Bits: 8..9
Sourcepub const fn synthetic_timers_volatile(&self) -> bool
pub const fn synthetic_timers_volatile(&self) -> bool
Bits: 9..10
Sourcepub const fn with_synthetic_timers_volatile(self, value: bool) -> Self
pub const fn with_synthetic_timers_volatile(self, value: bool) -> Self
Bits: 9..10
Sourcepub fn set_synthetic_timers_volatile(&mut self, value: bool)
pub fn set_synthetic_timers_volatile(&mut self, value: bool)
Bits: 9..10
Sourcepub const fn hypervisor_level(&self) -> u32
pub const fn hypervisor_level(&self) -> u32
Bits: 10..14
Sourcepub const fn with_hypervisor_level(self, value: u32) -> Self
pub const fn with_hypervisor_level(self, value: u32) -> Self
Bits: 10..14
Sourcepub fn set_hypervisor_level(&mut self, value: u32)
pub fn set_hypervisor_level(&mut self, value: u32)
Bits: 10..14
Sourcepub const fn physical_destination_mode_required(&self) -> bool
pub const fn physical_destination_mode_required(&self) -> bool
Bits: 14..15
Sourcepub const fn with_physical_destination_mode_required(self, value: bool) -> Self
pub const fn with_physical_destination_mode_required(self, value: bool) -> Self
Bits: 14..15
Sourcepub fn set_physical_destination_mode_required(&mut self, value: bool)
pub fn set_physical_destination_mode_required(&mut self, value: bool)
Bits: 14..15
Sourcepub const fn use_vmfunc_for_alias_map_switch(&self) -> bool
pub const fn use_vmfunc_for_alias_map_switch(&self) -> bool
Bits: 15..16
Sourcepub const fn with_use_vmfunc_for_alias_map_switch(self, value: bool) -> Self
pub const fn with_use_vmfunc_for_alias_map_switch(self, value: bool) -> Self
Bits: 15..16
Sourcepub fn set_use_vmfunc_for_alias_map_switch(&mut self, value: bool)
pub fn set_use_vmfunc_for_alias_map_switch(&mut self, value: bool)
Bits: 15..16
Sourcepub const fn hv_register_for_memory_zeroing_supported(&self) -> bool
pub const fn hv_register_for_memory_zeroing_supported(&self) -> bool
Bits: 16..17
Sourcepub const fn with_hv_register_for_memory_zeroing_supported(
self,
value: bool,
) -> Self
pub const fn with_hv_register_for_memory_zeroing_supported( self, value: bool, ) -> Self
Bits: 16..17
Sourcepub fn set_hv_register_for_memory_zeroing_supported(&mut self, value: bool)
pub fn set_hv_register_for_memory_zeroing_supported(&mut self, value: bool)
Bits: 16..17
Sourcepub const fn unrestricted_guest_supported(&self) -> bool
pub const fn unrestricted_guest_supported(&self) -> bool
Bits: 17..18
Sourcepub const fn with_unrestricted_guest_supported(self, value: bool) -> Self
pub const fn with_unrestricted_guest_supported(self, value: bool) -> Self
Bits: 17..18
Sourcepub fn set_unrestricted_guest_supported(&mut self, value: bool)
pub fn set_unrestricted_guest_supported(&mut self, value: bool)
Bits: 17..18
Sourcepub const fn rdt_afeatures_supported(&self) -> bool
pub const fn rdt_afeatures_supported(&self) -> bool
Bits: 18..19
Sourcepub const fn with_rdt_afeatures_supported(self, value: bool) -> Self
pub const fn with_rdt_afeatures_supported(self, value: bool) -> Self
Bits: 18..19
Sourcepub fn set_rdt_afeatures_supported(&mut self, value: bool)
pub fn set_rdt_afeatures_supported(&mut self, value: bool)
Bits: 18..19
Sourcepub const fn rdt_mfeatures_supported(&self) -> bool
pub const fn rdt_mfeatures_supported(&self) -> bool
Bits: 19..20
Sourcepub const fn with_rdt_mfeatures_supported(self, value: bool) -> Self
pub const fn with_rdt_mfeatures_supported(self, value: bool) -> Self
Bits: 19..20
Sourcepub fn set_rdt_mfeatures_supported(&mut self, value: bool)
pub fn set_rdt_mfeatures_supported(&mut self, value: bool)
Bits: 19..20
Sourcepub const fn child_perfmon_pmu_supported(&self) -> bool
pub const fn child_perfmon_pmu_supported(&self) -> bool
Bits: 20..21
Sourcepub const fn with_child_perfmon_pmu_supported(self, value: bool) -> Self
pub const fn with_child_perfmon_pmu_supported(self, value: bool) -> Self
Bits: 20..21
Sourcepub fn set_child_perfmon_pmu_supported(&mut self, value: bool)
pub fn set_child_perfmon_pmu_supported(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn child_perfmon_lbr_supported(&self) -> bool
pub const fn child_perfmon_lbr_supported(&self) -> bool
Bits: 21..22
Sourcepub const fn with_child_perfmon_lbr_supported(self, value: bool) -> Self
pub const fn with_child_perfmon_lbr_supported(self, value: bool) -> Self
Bits: 21..22
Sourcepub fn set_child_perfmon_lbr_supported(&mut self, value: bool)
pub fn set_child_perfmon_lbr_supported(&mut self, value: bool)
Bits: 21..22
Sourcepub const fn child_perfmon_ipt_supported(&self) -> bool
pub const fn child_perfmon_ipt_supported(&self) -> bool
Bits: 22..23
Sourcepub const fn with_child_perfmon_ipt_supported(self, value: bool) -> Self
pub const fn with_child_perfmon_ipt_supported(self, value: bool) -> Self
Bits: 22..23
Sourcepub fn set_child_perfmon_ipt_supported(&mut self, value: bool)
pub fn set_child_perfmon_ipt_supported(&mut self, value: bool)
Bits: 22..23
Sourcepub const fn apic_emulation_supported(&self) -> bool
pub const fn apic_emulation_supported(&self) -> bool
Bits: 23..24
Sourcepub const fn with_apic_emulation_supported(self, value: bool) -> Self
pub const fn with_apic_emulation_supported(self, value: bool) -> Self
Bits: 23..24
Sourcepub fn set_apic_emulation_supported(&mut self, value: bool)
pub fn set_apic_emulation_supported(&mut self, value: bool)
Bits: 23..24
Sourcepub const fn child_x2_apic_recommended(&self) -> bool
pub const fn child_x2_apic_recommended(&self) -> bool
Bits: 24..25
Sourcepub const fn with_child_x2_apic_recommended(self, value: bool) -> Self
pub const fn with_child_x2_apic_recommended(self, value: bool) -> Self
Bits: 24..25
Sourcepub fn set_child_x2_apic_recommended(&mut self, value: bool)
pub fn set_child_x2_apic_recommended(&mut self, value: bool)
Bits: 24..25
Sourcepub const fn hardware_watchdog_reserved(&self) -> bool
pub const fn hardware_watchdog_reserved(&self) -> bool
Bits: 25..26
Sourcepub const fn with_hardware_watchdog_reserved(self, value: bool) -> Self
pub const fn with_hardware_watchdog_reserved(self, value: bool) -> Self
Bits: 25..26
Sourcepub fn set_hardware_watchdog_reserved(&mut self, value: bool)
pub fn set_hardware_watchdog_reserved(&mut self, value: bool)
Bits: 25..26
Sourcepub const fn device_access_tracking_supported(&self) -> bool
pub const fn device_access_tracking_supported(&self) -> bool
Bits: 26..27
Sourcepub const fn with_device_access_tracking_supported(self, value: bool) -> Self
pub const fn with_device_access_tracking_supported(self, value: bool) -> Self
Bits: 26..27
Sourcepub fn set_device_access_tracking_supported(&mut self, value: bool)
pub fn set_device_access_tracking_supported(&mut self, value: bool)
Bits: 26..27
Sourcepub const fn hardware_gpa_access_tracking_supported(&self) -> bool
pub const fn hardware_gpa_access_tracking_supported(&self) -> bool
Bits: 27..28
Sourcepub const fn with_hardware_gpa_access_tracking_supported(
self,
value: bool,
) -> Self
pub const fn with_hardware_gpa_access_tracking_supported( self, value: bool, ) -> Self
Bits: 27..28
Sourcepub fn set_hardware_gpa_access_tracking_supported(&mut self, value: bool)
pub fn set_hardware_gpa_access_tracking_supported(&mut self, value: bool)
Bits: 27..28
Sourcepub const fn device_domain_input_width(&self) -> u8
pub const fn device_domain_input_width(&self) -> u8
Bits: 32..40
Sourcepub const fn with_device_domain_input_width(self, value: u8) -> Self
pub const fn with_device_domain_input_width(self, value: u8) -> Self
Bits: 32..40
Sourcepub fn set_device_domain_input_width(&mut self, value: u8)
pub fn set_device_domain_input_width(&mut self, value: u8)
Bits: 32..40
Trait Implementations§
Source§impl Clone for HvHardwareFeatures
impl Clone for HvHardwareFeatures
Source§fn clone(&self) -> HvHardwareFeatures
fn clone(&self) -> HvHardwareFeatures
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more