pub struct HvPartitionSyntheticProcessorFeatures(/* private fields */);Expand description
Synthetic processor features that control which Hyper-V enlightenments are exposed to a guest partition.
Implementations§
Source§impl HvPartitionSyntheticProcessorFeatures
impl HvPartitionSyntheticProcessorFeatures
Sourcepub const fn hypervisor_present(&self) -> bool
pub const fn hypervisor_present(&self) -> bool
Bits: 0..1
Sourcepub const fn with_hypervisor_present_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_hypervisor_present_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_hypervisor_present(self, value: bool) -> Self
pub const fn with_hypervisor_present(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_hypervisor_present(&mut self, value: bool)
pub const fn set_hypervisor_present(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn set_hypervisor_present_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_hypervisor_present_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 0..1
Sourcepub const fn with_hv1_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_hv1_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn access_vp_run_time_reg(&self) -> bool
pub const fn access_vp_run_time_reg(&self) -> bool
Bits: 2..3
Sourcepub const fn with_access_vp_run_time_reg_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_access_vp_run_time_reg_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_access_vp_run_time_reg(self, value: bool) -> Self
pub const fn with_access_vp_run_time_reg(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_access_vp_run_time_reg(&mut self, value: bool)
pub const fn set_access_vp_run_time_reg(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn set_access_vp_run_time_reg_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_vp_run_time_reg_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 2..3
Sourcepub const fn access_partition_reference_counter(&self) -> bool
pub const fn access_partition_reference_counter(&self) -> bool
Bits: 3..4
Sourcepub const fn with_access_partition_reference_counter_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_access_partition_reference_counter_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_access_partition_reference_counter(self, value: bool) -> Self
pub const fn with_access_partition_reference_counter(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn set_access_partition_reference_counter(&mut self, value: bool)
pub const fn set_access_partition_reference_counter(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn set_access_partition_reference_counter_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_partition_reference_counter_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 3..4
Sourcepub const fn access_synic_regs(&self) -> bool
pub const fn access_synic_regs(&self) -> bool
Bits: 4..5
Sourcepub const fn with_access_synic_regs_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_access_synic_regs_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_access_synic_regs(self, value: bool) -> Self
pub const fn with_access_synic_regs(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn set_access_synic_regs(&mut self, value: bool)
pub const fn set_access_synic_regs(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn set_access_synic_regs_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_synic_regs_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 4..5
Sourcepub const fn access_synthetic_timer_regs(&self) -> bool
pub const fn access_synthetic_timer_regs(&self) -> bool
Bits: 5..6
Sourcepub const fn with_access_synthetic_timer_regs_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_access_synthetic_timer_regs_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_access_synthetic_timer_regs(self, value: bool) -> Self
pub const fn with_access_synthetic_timer_regs(self, value: bool) -> Self
Bits: 5..6
Sourcepub const fn set_access_synthetic_timer_regs(&mut self, value: bool)
pub const fn set_access_synthetic_timer_regs(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn set_access_synthetic_timer_regs_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_synthetic_timer_regs_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 5..6
Sourcepub const fn access_intr_ctrl_regs(&self) -> bool
pub const fn access_intr_ctrl_regs(&self) -> bool
Bits: 6..7
Sourcepub const fn with_access_intr_ctrl_regs_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_access_intr_ctrl_regs_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_access_intr_ctrl_regs(self, value: bool) -> Self
pub const fn with_access_intr_ctrl_regs(self, value: bool) -> Self
Bits: 6..7
Sourcepub const fn set_access_intr_ctrl_regs(&mut self, value: bool)
pub const fn set_access_intr_ctrl_regs(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn set_access_intr_ctrl_regs_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_intr_ctrl_regs_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 6..7
Sourcepub const fn access_hypercall_regs(&self) -> bool
pub const fn access_hypercall_regs(&self) -> bool
Bits: 7..8
Sourcepub const fn with_access_hypercall_regs_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_access_hypercall_regs_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_access_hypercall_regs(self, value: bool) -> Self
pub const fn with_access_hypercall_regs(self, value: bool) -> Self
Bits: 7..8
Sourcepub const fn set_access_hypercall_regs(&mut self, value: bool)
pub const fn set_access_hypercall_regs(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn set_access_hypercall_regs_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_hypercall_regs_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 7..8
Sourcepub const fn access_vp_index(&self) -> bool
pub const fn access_vp_index(&self) -> bool
Bits: 8..9
Sourcepub const fn with_access_vp_index_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_access_vp_index_checked(self, value: bool) -> Result<Self, ()>
Bits: 8..9
Sourcepub const fn with_access_vp_index(self, value: bool) -> Self
pub const fn with_access_vp_index(self, value: bool) -> Self
Bits: 8..9
Sourcepub const fn set_access_vp_index(&mut self, value: bool)
pub const fn set_access_vp_index(&mut self, value: bool)
Bits: 8..9
Sourcepub const fn set_access_vp_index_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_vp_index_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 8..9
Sourcepub const fn access_partition_reference_tsc(&self) -> bool
pub const fn access_partition_reference_tsc(&self) -> bool
Bits: 9..10
Sourcepub const fn with_access_partition_reference_tsc_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_access_partition_reference_tsc_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 9..10
Sourcepub const fn with_access_partition_reference_tsc(self, value: bool) -> Self
pub const fn with_access_partition_reference_tsc(self, value: bool) -> Self
Bits: 9..10
Sourcepub const fn set_access_partition_reference_tsc(&mut self, value: bool)
pub const fn set_access_partition_reference_tsc(&mut self, value: bool)
Bits: 9..10
Sourcepub const fn set_access_partition_reference_tsc_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_partition_reference_tsc_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 9..10
Sourcepub const fn access_guest_idle_reg(&self) -> bool
pub const fn access_guest_idle_reg(&self) -> bool
Bits: 10..11
Sourcepub const fn with_access_guest_idle_reg_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_access_guest_idle_reg_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_access_guest_idle_reg(self, value: bool) -> Self
pub const fn with_access_guest_idle_reg(self, value: bool) -> Self
Bits: 10..11
Sourcepub const fn set_access_guest_idle_reg(&mut self, value: bool)
pub const fn set_access_guest_idle_reg(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn set_access_guest_idle_reg_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_guest_idle_reg_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 10..11
Sourcepub const fn access_frequency_regs(&self) -> bool
pub const fn access_frequency_regs(&self) -> bool
Bits: 11..12
Sourcepub const fn with_access_frequency_regs_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_access_frequency_regs_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_access_frequency_regs(self, value: bool) -> Self
pub const fn with_access_frequency_regs(self, value: bool) -> Self
Bits: 11..12
Sourcepub const fn set_access_frequency_regs(&mut self, value: bool)
pub const fn set_access_frequency_regs(&mut self, value: bool)
Bits: 11..12
Sourcepub const fn set_access_frequency_regs_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_frequency_regs_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 11..12
Sourcepub const fn enable_extended_gva_ranges_for_flush_virtual_address_list(
&self,
) -> bool
pub const fn enable_extended_gva_ranges_for_flush_virtual_address_list( &self, ) -> bool
Bits: 15..16
Sourcepub const fn with_enable_extended_gva_ranges_for_flush_virtual_address_list_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_enable_extended_gva_ranges_for_flush_virtual_address_list_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 15..16
Sourcepub const fn with_enable_extended_gva_ranges_for_flush_virtual_address_list(
self,
value: bool,
) -> Self
pub const fn with_enable_extended_gva_ranges_for_flush_virtual_address_list( self, value: bool, ) -> Self
Bits: 15..16
Sourcepub const fn set_enable_extended_gva_ranges_for_flush_virtual_address_list(
&mut self,
value: bool,
)
pub const fn set_enable_extended_gva_ranges_for_flush_virtual_address_list( &mut self, value: bool, )
Bits: 15..16
Sourcepub const fn set_enable_extended_gva_ranges_for_flush_virtual_address_list_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_enable_extended_gva_ranges_for_flush_virtual_address_list_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 15..16
Sourcepub const fn fast_hypercall_output(&self) -> bool
pub const fn fast_hypercall_output(&self) -> bool
Bits: 18..19
Sourcepub const fn with_fast_hypercall_output_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_fast_hypercall_output_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 18..19
Sourcepub const fn with_fast_hypercall_output(self, value: bool) -> Self
pub const fn with_fast_hypercall_output(self, value: bool) -> Self
Bits: 18..19
Sourcepub const fn set_fast_hypercall_output(&mut self, value: bool)
pub const fn set_fast_hypercall_output(&mut self, value: bool)
Bits: 18..19
Sourcepub const fn set_fast_hypercall_output_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_fast_hypercall_output_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 18..19
Sourcepub const fn start_virtual_processor(&self) -> bool
pub const fn start_virtual_processor(&self) -> bool
Bits: 20..21
Sourcepub const fn with_start_virtual_processor_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_start_virtual_processor_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 20..21
Sourcepub const fn with_start_virtual_processor(self, value: bool) -> Self
pub const fn with_start_virtual_processor(self, value: bool) -> Self
Bits: 20..21
Sourcepub const fn set_start_virtual_processor(&mut self, value: bool)
pub const fn set_start_virtual_processor(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn set_start_virtual_processor_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_start_virtual_processor_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 20..21
Sourcepub const fn direct_synthetic_timers(&self) -> bool
pub const fn direct_synthetic_timers(&self) -> bool
Bits: 22..23
Sourcepub const fn with_direct_synthetic_timers_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_direct_synthetic_timers_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 22..23
Sourcepub const fn with_direct_synthetic_timers(self, value: bool) -> Self
pub const fn with_direct_synthetic_timers(self, value: bool) -> Self
Bits: 22..23
Sourcepub const fn set_direct_synthetic_timers(&mut self, value: bool)
pub const fn set_direct_synthetic_timers(&mut self, value: bool)
Bits: 22..23
Sourcepub const fn set_direct_synthetic_timers_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_direct_synthetic_timers_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 22..23
Sourcepub const fn extended_processor_masks(&self) -> bool
pub const fn extended_processor_masks(&self) -> bool
Bits: 24..25
Sourcepub const fn with_extended_processor_masks_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_extended_processor_masks_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn with_extended_processor_masks(self, value: bool) -> Self
pub const fn with_extended_processor_masks(self, value: bool) -> Self
Bits: 24..25
Sourcepub const fn set_extended_processor_masks(&mut self, value: bool)
pub const fn set_extended_processor_masks(&mut self, value: bool)
Bits: 24..25
Sourcepub const fn set_extended_processor_masks_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_extended_processor_masks_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 24..25
Sourcepub const fn tb_flush_hypercalls(&self) -> bool
pub const fn tb_flush_hypercalls(&self) -> bool
Bits: 25..26
Sourcepub const fn with_tb_flush_hypercalls_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_tb_flush_hypercalls_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_tb_flush_hypercalls(self, value: bool) -> Self
pub const fn with_tb_flush_hypercalls(self, value: bool) -> Self
Bits: 25..26
Sourcepub const fn set_tb_flush_hypercalls(&mut self, value: bool)
pub const fn set_tb_flush_hypercalls(&mut self, value: bool)
Bits: 25..26
Sourcepub const fn set_tb_flush_hypercalls_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_tb_flush_hypercalls_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 25..26
Sourcepub const fn synthetic_cluster_ipi(&self) -> bool
pub const fn synthetic_cluster_ipi(&self) -> bool
Bits: 26..27
Sourcepub const fn with_synthetic_cluster_ipi_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_synthetic_cluster_ipi_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_synthetic_cluster_ipi(self, value: bool) -> Self
pub const fn with_synthetic_cluster_ipi(self, value: bool) -> Self
Bits: 26..27
Sourcepub const fn set_synthetic_cluster_ipi(&mut self, value: bool)
pub const fn set_synthetic_cluster_ipi(&mut self, value: bool)
Bits: 26..27
Sourcepub const fn set_synthetic_cluster_ipi_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_synthetic_cluster_ipi_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 26..27
Sourcepub const fn notify_long_spin_wait(&self) -> bool
pub const fn notify_long_spin_wait(&self) -> bool
Bits: 27..28
Sourcepub const fn with_notify_long_spin_wait_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_notify_long_spin_wait_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 27..28
Sourcepub const fn with_notify_long_spin_wait(self, value: bool) -> Self
pub const fn with_notify_long_spin_wait(self, value: bool) -> Self
Bits: 27..28
Sourcepub const fn set_notify_long_spin_wait(&mut self, value: bool)
pub const fn set_notify_long_spin_wait(&mut self, value: bool)
Bits: 27..28
Sourcepub const fn set_notify_long_spin_wait_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_notify_long_spin_wait_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 27..28
Sourcepub const fn query_numa_distance(&self) -> bool
pub const fn query_numa_distance(&self) -> bool
Bits: 28..29
Sourcepub const fn with_query_numa_distance_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_query_numa_distance_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 28..29
Sourcepub const fn with_query_numa_distance(self, value: bool) -> Self
pub const fn with_query_numa_distance(self, value: bool) -> Self
Bits: 28..29
Sourcepub const fn set_query_numa_distance(&mut self, value: bool)
pub const fn set_query_numa_distance(&mut self, value: bool)
Bits: 28..29
Sourcepub const fn set_query_numa_distance_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_query_numa_distance_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 28..29
Sourcepub const fn signal_events(&self) -> bool
pub const fn signal_events(&self) -> bool
Bits: 29..30
Sourcepub const fn with_signal_events_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_signal_events_checked(self, value: bool) -> Result<Self, ()>
Bits: 29..30
Sourcepub const fn with_signal_events(self, value: bool) -> Self
pub const fn with_signal_events(self, value: bool) -> Self
Bits: 29..30
Sourcepub const fn set_signal_events(&mut self, value: bool)
pub const fn set_signal_events(&mut self, value: bool)
Bits: 29..30
Sourcepub const fn retarget_device_interrupt(&self) -> bool
pub const fn retarget_device_interrupt(&self) -> bool
Bits: 30..31
Sourcepub const fn with_retarget_device_interrupt_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_retarget_device_interrupt_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 30..31
Sourcepub const fn with_retarget_device_interrupt(self, value: bool) -> Self
pub const fn with_retarget_device_interrupt(self, value: bool) -> Self
Bits: 30..31
Sourcepub const fn set_retarget_device_interrupt(&mut self, value: bool)
pub const fn set_retarget_device_interrupt(&mut self, value: bool)
Bits: 30..31
Sourcepub const fn set_retarget_device_interrupt_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_retarget_device_interrupt_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 30..31
Sourcepub const fn restore_time(&self) -> bool
pub const fn restore_time(&self) -> bool
Bits: 31..32
Sourcepub const fn with_restore_time_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_restore_time_checked(self, value: bool) -> Result<Self, ()>
Bits: 31..32
Sourcepub const fn with_restore_time(self, value: bool) -> Self
pub const fn with_restore_time(self, value: bool) -> Self
Bits: 31..32
Sourcepub const fn set_restore_time(&mut self, value: bool)
pub const fn set_restore_time(&mut self, value: bool)
Bits: 31..32
Sourcepub const fn enlightened_vmcs(&self) -> bool
pub const fn enlightened_vmcs(&self) -> bool
Bits: 32..33
Sourcepub const fn with_enlightened_vmcs_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_enlightened_vmcs_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 32..33
Sourcepub const fn with_enlightened_vmcs(self, value: bool) -> Self
pub const fn with_enlightened_vmcs(self, value: bool) -> Self
Bits: 32..33
Sourcepub const fn set_enlightened_vmcs(&mut self, value: bool)
pub const fn set_enlightened_vmcs(&mut self, value: bool)
Bits: 32..33
Sourcepub const fn set_enlightened_vmcs_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_enlightened_vmcs_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 32..33
Sourcepub const fn nested_debug_ctl(&self) -> bool
pub const fn nested_debug_ctl(&self) -> bool
Bits: 33..34
Sourcepub const fn with_nested_debug_ctl_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_nested_debug_ctl_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 33..34
Sourcepub const fn with_nested_debug_ctl(self, value: bool) -> Self
pub const fn with_nested_debug_ctl(self, value: bool) -> Self
Bits: 33..34
Sourcepub const fn set_nested_debug_ctl(&mut self, value: bool)
pub const fn set_nested_debug_ctl(&mut self, value: bool)
Bits: 33..34
Sourcepub const fn set_nested_debug_ctl_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_nested_debug_ctl_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 33..34
Sourcepub const fn synthetic_time_unhalted_timer(&self) -> bool
pub const fn synthetic_time_unhalted_timer(&self) -> bool
Bits: 34..35
Sourcepub const fn with_synthetic_time_unhalted_timer_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_synthetic_time_unhalted_timer_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 34..35
Sourcepub const fn with_synthetic_time_unhalted_timer(self, value: bool) -> Self
pub const fn with_synthetic_time_unhalted_timer(self, value: bool) -> Self
Bits: 34..35
Sourcepub const fn set_synthetic_time_unhalted_timer(&mut self, value: bool)
pub const fn set_synthetic_time_unhalted_timer(&mut self, value: bool)
Bits: 34..35
Sourcepub const fn set_synthetic_time_unhalted_timer_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_synthetic_time_unhalted_timer_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 34..35
Sourcepub const fn idle_spec_ctrl(&self) -> bool
pub const fn idle_spec_ctrl(&self) -> bool
Bits: 35..36
Sourcepub const fn with_idle_spec_ctrl_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_idle_spec_ctrl_checked(self, value: bool) -> Result<Self, ()>
Bits: 35..36
Sourcepub const fn with_idle_spec_ctrl(self, value: bool) -> Self
pub const fn with_idle_spec_ctrl(self, value: bool) -> Self
Bits: 35..36
Sourcepub const fn set_idle_spec_ctrl(&mut self, value: bool)
pub const fn set_idle_spec_ctrl(&mut self, value: bool)
Bits: 35..36
Sourcepub const fn set_idle_spec_ctrl_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_idle_spec_ctrl_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 35..36
Sourcepub const fn with_wake_vps_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_wake_vps_checked(self, value: bool) -> Result<Self, ()>
Bits: 37..38
Sourcepub const fn with_wake_vps(self, value: bool) -> Self
pub const fn with_wake_vps(self, value: bool) -> Self
Bits: 37..38
Sourcepub const fn set_wake_vps(&mut self, value: bool)
pub const fn set_wake_vps(&mut self, value: bool)
Bits: 37..38
Sourcepub const fn access_vp_regs(&self) -> bool
pub const fn access_vp_regs(&self) -> bool
Bits: 38..39
Sourcepub const fn with_access_vp_regs_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_access_vp_regs_checked(self, value: bool) -> Result<Self, ()>
Bits: 38..39
Sourcepub const fn with_access_vp_regs(self, value: bool) -> Self
pub const fn with_access_vp_regs(self, value: bool) -> Self
Bits: 38..39
Sourcepub const fn set_access_vp_regs(&mut self, value: bool)
pub const fn set_access_vp_regs(&mut self, value: bool)
Bits: 38..39
Sourcepub const fn set_access_vp_regs_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_access_vp_regs_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 38..39
Sourcepub const fn management_vtl_synic_support(&self) -> bool
pub const fn management_vtl_synic_support(&self) -> bool
Bits: 40..41
Sourcepub const fn with_management_vtl_synic_support_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_management_vtl_synic_support_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 40..41
Sourcepub const fn with_management_vtl_synic_support(self, value: bool) -> Self
pub const fn with_management_vtl_synic_support(self, value: bool) -> Self
Bits: 40..41
Sourcepub const fn set_management_vtl_synic_support(&mut self, value: bool)
pub const fn set_management_vtl_synic_support(&mut self, value: bool)
Bits: 40..41
Sourcepub const fn set_management_vtl_synic_support_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_management_vtl_synic_support_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 40..41
Sourcepub const fn proxy_interrupt_doorbell_support(&self) -> bool
pub const fn proxy_interrupt_doorbell_support(&self) -> bool
Bits: 41..42
Sourcepub const fn with_proxy_interrupt_doorbell_support_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_proxy_interrupt_doorbell_support_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 41..42
Sourcepub const fn with_proxy_interrupt_doorbell_support(self, value: bool) -> Self
pub const fn with_proxy_interrupt_doorbell_support(self, value: bool) -> Self
Bits: 41..42
Sourcepub const fn set_proxy_interrupt_doorbell_support(&mut self, value: bool)
pub const fn set_proxy_interrupt_doorbell_support(&mut self, value: bool)
Bits: 41..42
Sourcepub const fn set_proxy_interrupt_doorbell_support_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_proxy_interrupt_doorbell_support_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 41..42
Sourcepub const fn mmio_hypercalls(&self) -> bool
pub const fn mmio_hypercalls(&self) -> bool
Bits: 43..44
Sourcepub const fn with_mmio_hypercalls_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mmio_hypercalls_checked(self, value: bool) -> Result<Self, ()>
Bits: 43..44
Sourcepub const fn with_mmio_hypercalls(self, value: bool) -> Self
pub const fn with_mmio_hypercalls(self, value: bool) -> Self
Bits: 43..44
Sourcepub const fn set_mmio_hypercalls(&mut self, value: bool)
pub const fn set_mmio_hypercalls(&mut self, value: bool)
Bits: 43..44
Trait Implementations§
Source§impl Clone for HvPartitionSyntheticProcessorFeatures
impl Clone for HvPartitionSyntheticProcessorFeatures
Source§fn clone(&self) -> HvPartitionSyntheticProcessorFeatures
fn clone(&self) -> HvPartitionSyntheticProcessorFeatures
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more