pub struct HvPartitionPrivilege(/* private fields */);
Implementations§
Source§impl HvPartitionPrivilege
impl HvPartitionPrivilege
Sourcepub const fn access_vp_runtime_msr(&self) -> bool
pub const fn access_vp_runtime_msr(&self) -> bool
Bits: 0..1
Sourcepub const fn with_access_vp_runtime_msr(self, value: bool) -> Self
pub const fn with_access_vp_runtime_msr(self, value: bool) -> Self
Bits: 0..1
Sourcepub fn set_access_vp_runtime_msr(&mut self, value: bool)
pub fn set_access_vp_runtime_msr(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn access_partition_reference_counter(&self) -> bool
pub const fn access_partition_reference_counter(&self) -> bool
Bits: 1..2
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: 1..2
Sourcepub fn set_access_partition_reference_counter(&mut self, value: bool)
pub fn set_access_partition_reference_counter(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn access_synic_msrs(&self) -> bool
pub const fn access_synic_msrs(&self) -> bool
Bits: 2..3
Sourcepub const fn with_access_synic_msrs(self, value: bool) -> Self
pub const fn with_access_synic_msrs(self, value: bool) -> Self
Bits: 2..3
Sourcepub fn set_access_synic_msrs(&mut self, value: bool)
pub fn set_access_synic_msrs(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn access_synthetic_timer_msrs(&self) -> bool
pub const fn access_synthetic_timer_msrs(&self) -> bool
Bits: 3..4
Sourcepub const fn with_access_synthetic_timer_msrs(self, value: bool) -> Self
pub const fn with_access_synthetic_timer_msrs(self, value: bool) -> Self
Bits: 3..4
Sourcepub fn set_access_synthetic_timer_msrs(&mut self, value: bool)
pub fn set_access_synthetic_timer_msrs(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn access_apic_msrs(&self) -> bool
pub const fn access_apic_msrs(&self) -> bool
Bits: 4..5
Sourcepub const fn with_access_apic_msrs(self, value: bool) -> Self
pub const fn with_access_apic_msrs(self, value: bool) -> Self
Bits: 4..5
Sourcepub fn set_access_apic_msrs(&mut self, value: bool)
pub fn set_access_apic_msrs(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn access_hypercall_msrs(&self) -> bool
pub const fn access_hypercall_msrs(&self) -> bool
Bits: 5..6
Sourcepub const fn with_access_hypercall_msrs(self, value: bool) -> Self
pub const fn with_access_hypercall_msrs(self, value: bool) -> Self
Bits: 5..6
Sourcepub fn set_access_hypercall_msrs(&mut self, value: bool)
pub fn set_access_hypercall_msrs(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn access_vp_index(&self) -> bool
pub const fn access_vp_index(&self) -> bool
Bits: 6..7
Sourcepub const fn with_access_vp_index(self, value: bool) -> Self
pub const fn with_access_vp_index(self, value: bool) -> Self
Bits: 6..7
Sourcepub fn set_access_vp_index(&mut self, value: bool)
pub fn set_access_vp_index(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn access_reset_msr(&self) -> bool
pub const fn access_reset_msr(&self) -> bool
Bits: 7..8
Sourcepub const fn with_access_reset_msr(self, value: bool) -> Self
pub const fn with_access_reset_msr(self, value: bool) -> Self
Bits: 7..8
Sourcepub fn set_access_reset_msr(&mut self, value: bool)
pub fn set_access_reset_msr(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn access_stats_msr(&self) -> bool
pub const fn access_stats_msr(&self) -> bool
Bits: 8..9
Sourcepub const fn with_access_stats_msr(self, value: bool) -> Self
pub const fn with_access_stats_msr(self, value: bool) -> Self
Bits: 8..9
Sourcepub fn set_access_stats_msr(&mut self, value: bool)
pub fn set_access_stats_msr(&mut self, value: bool)
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(self, value: bool) -> Self
pub const fn with_access_partition_reference_tsc(self, value: bool) -> Self
Bits: 9..10
Sourcepub fn set_access_partition_reference_tsc(&mut self, value: bool)
pub fn set_access_partition_reference_tsc(&mut self, value: bool)
Bits: 9..10
Sourcepub const fn access_guest_idle_msr(&self) -> bool
pub const fn access_guest_idle_msr(&self) -> bool
Bits: 10..11
Sourcepub const fn with_access_guest_idle_msr(self, value: bool) -> Self
pub const fn with_access_guest_idle_msr(self, value: bool) -> Self
Bits: 10..11
Sourcepub fn set_access_guest_idle_msr(&mut self, value: bool)
pub fn set_access_guest_idle_msr(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn access_frequency_msrs(&self) -> bool
pub const fn access_frequency_msrs(&self) -> bool
Bits: 11..12
Sourcepub const fn with_access_frequency_msrs(self, value: bool) -> Self
pub const fn with_access_frequency_msrs(self, value: bool) -> Self
Bits: 11..12
Sourcepub fn set_access_frequency_msrs(&mut self, value: bool)
pub fn set_access_frequency_msrs(&mut self, value: bool)
Bits: 11..12
Sourcepub const fn access_debug_msrs(&self) -> bool
pub const fn access_debug_msrs(&self) -> bool
Bits: 12..13
Sourcepub const fn with_access_debug_msrs(self, value: bool) -> Self
pub const fn with_access_debug_msrs(self, value: bool) -> Self
Bits: 12..13
Sourcepub fn set_access_debug_msrs(&mut self, value: bool)
pub fn set_access_debug_msrs(&mut self, value: bool)
Bits: 12..13
Sourcepub const fn access_reenlightenment_ctrls(&self) -> bool
pub const fn access_reenlightenment_ctrls(&self) -> bool
Bits: 13..14
Sourcepub const fn with_access_reenlightenment_ctrls(self, value: bool) -> Self
pub const fn with_access_reenlightenment_ctrls(self, value: bool) -> Self
Bits: 13..14
Sourcepub fn set_access_reenlightenment_ctrls(&mut self, value: bool)
pub fn set_access_reenlightenment_ctrls(&mut self, value: bool)
Bits: 13..14
Sourcepub const fn access_root_scheduler_msr(&self) -> bool
pub const fn access_root_scheduler_msr(&self) -> bool
Bits: 14..15
Sourcepub const fn with_access_root_scheduler_msr(self, value: bool) -> Self
pub const fn with_access_root_scheduler_msr(self, value: bool) -> Self
Bits: 14..15
Sourcepub fn set_access_root_scheduler_msr(&mut self, value: bool)
pub fn set_access_root_scheduler_msr(&mut self, value: bool)
Bits: 14..15
Sourcepub const fn access_tsc_invariant_controls(&self) -> bool
pub const fn access_tsc_invariant_controls(&self) -> bool
Bits: 15..16
Sourcepub const fn with_access_tsc_invariant_controls(self, value: bool) -> Self
pub const fn with_access_tsc_invariant_controls(self, value: bool) -> Self
Bits: 15..16
Sourcepub fn set_access_tsc_invariant_controls(&mut self, value: bool)
pub fn set_access_tsc_invariant_controls(&mut self, value: bool)
Bits: 15..16
Sourcepub const fn create_partitions(&self) -> bool
pub const fn create_partitions(&self) -> bool
Bits: 32..33
Sourcepub const fn with_create_partitions(self, value: bool) -> Self
pub const fn with_create_partitions(self, value: bool) -> Self
Bits: 32..33
Sourcepub fn set_create_partitions(&mut self, value: bool)
pub fn set_create_partitions(&mut self, value: bool)
Bits: 32..33
Sourcepub const fn access_partition_id(&self) -> bool
pub const fn access_partition_id(&self) -> bool
Bits: 33..34
Sourcepub const fn with_access_partition_id(self, value: bool) -> Self
pub const fn with_access_partition_id(self, value: bool) -> Self
Bits: 33..34
Sourcepub fn set_access_partition_id(&mut self, value: bool)
pub fn set_access_partition_id(&mut self, value: bool)
Bits: 33..34
Sourcepub const fn access_memory_pool(&self) -> bool
pub const fn access_memory_pool(&self) -> bool
Bits: 34..35
Sourcepub const fn with_access_memory_pool(self, value: bool) -> Self
pub const fn with_access_memory_pool(self, value: bool) -> Self
Bits: 34..35
Sourcepub fn set_access_memory_pool(&mut self, value: bool)
pub fn set_access_memory_pool(&mut self, value: bool)
Bits: 34..35
Sourcepub const fn adjust_message_buffers(&self) -> bool
pub const fn adjust_message_buffers(&self) -> bool
Bits: 35..36
Sourcepub const fn with_adjust_message_buffers(self, value: bool) -> Self
pub const fn with_adjust_message_buffers(self, value: bool) -> Self
Bits: 35..36
Sourcepub fn set_adjust_message_buffers(&mut self, value: bool)
pub fn set_adjust_message_buffers(&mut self, value: bool)
Bits: 35..36
Sourcepub const fn post_messages(&self) -> bool
pub const fn post_messages(&self) -> bool
Bits: 36..37
Sourcepub const fn with_post_messages(self, value: bool) -> Self
pub const fn with_post_messages(self, value: bool) -> Self
Bits: 36..37
Sourcepub fn set_post_messages(&mut self, value: bool)
pub fn set_post_messages(&mut self, value: bool)
Bits: 36..37
Sourcepub const fn signal_events(&self) -> bool
pub const fn signal_events(&self) -> bool
Bits: 37..38
Sourcepub const fn with_signal_events(self, value: bool) -> Self
pub const fn with_signal_events(self, value: bool) -> Self
Bits: 37..38
Sourcepub fn set_signal_events(&mut self, value: bool)
pub fn set_signal_events(&mut self, value: bool)
Bits: 37..38
Sourcepub const fn create_port(&self) -> bool
pub const fn create_port(&self) -> bool
Bits: 38..39
Sourcepub const fn with_create_port(self, value: bool) -> Self
pub const fn with_create_port(self, value: bool) -> Self
Bits: 38..39
Sourcepub fn set_create_port(&mut self, value: bool)
pub fn set_create_port(&mut self, value: bool)
Bits: 38..39
Sourcepub const fn connect_port(&self) -> bool
pub const fn connect_port(&self) -> bool
Bits: 39..40
Sourcepub const fn with_connect_port(self, value: bool) -> Self
pub const fn with_connect_port(self, value: bool) -> Self
Bits: 39..40
Sourcepub fn set_connect_port(&mut self, value: bool)
pub fn set_connect_port(&mut self, value: bool)
Bits: 39..40
Sourcepub const fn access_stats(&self) -> bool
pub const fn access_stats(&self) -> bool
Bits: 40..41
Sourcepub const fn with_access_stats(self, value: bool) -> Self
pub const fn with_access_stats(self, value: bool) -> Self
Bits: 40..41
Sourcepub fn set_access_stats(&mut self, value: bool)
pub fn set_access_stats(&mut self, value: bool)
Bits: 40..41
Sourcepub const fn with_debugging(self, value: bool) -> Self
pub const fn with_debugging(self, value: bool) -> Self
Bits: 43..44
Sourcepub fn set_debugging(&mut self, value: bool)
pub fn set_debugging(&mut self, value: bool)
Bits: 43..44
Sourcepub const fn cpu_management(&self) -> bool
pub const fn cpu_management(&self) -> bool
Bits: 44..45
Sourcepub const fn with_cpu_management(self, value: bool) -> Self
pub const fn with_cpu_management(self, value: bool) -> Self
Bits: 44..45
Sourcepub fn set_cpu_management(&mut self, value: bool)
pub fn set_cpu_management(&mut self, value: bool)
Bits: 44..45
Sourcepub const fn configure_profiler(&self) -> bool
pub const fn configure_profiler(&self) -> bool
Bits: 45..46
Sourcepub const fn with_configure_profiler(self, value: bool) -> Self
pub const fn with_configure_profiler(self, value: bool) -> Self
Bits: 45..46
Sourcepub fn set_configure_profiler(&mut self, value: bool)
pub fn set_configure_profiler(&mut self, value: bool)
Bits: 45..46
Sourcepub const fn access_vp_exit_tracing(&self) -> bool
pub const fn access_vp_exit_tracing(&self) -> bool
Bits: 46..47
Sourcepub const fn with_access_vp_exit_tracing(self, value: bool) -> Self
pub const fn with_access_vp_exit_tracing(self, value: bool) -> Self
Bits: 46..47
Sourcepub fn set_access_vp_exit_tracing(&mut self, value: bool)
pub fn set_access_vp_exit_tracing(&mut self, value: bool)
Bits: 46..47
Sourcepub const fn enable_extended_gva_ranges_flush_va_list(&self) -> bool
pub const fn enable_extended_gva_ranges_flush_va_list(&self) -> bool
Bits: 47..48
Sourcepub const fn with_enable_extended_gva_ranges_flush_va_list(
self,
value: bool,
) -> Self
pub const fn with_enable_extended_gva_ranges_flush_va_list( self, value: bool, ) -> Self
Bits: 47..48
Sourcepub fn set_enable_extended_gva_ranges_flush_va_list(&mut self, value: bool)
pub fn set_enable_extended_gva_ranges_flush_va_list(&mut self, value: bool)
Bits: 47..48
Sourcepub const fn access_vsm(&self) -> bool
pub const fn access_vsm(&self) -> bool
Bits: 48..49
Sourcepub const fn with_access_vsm(self, value: bool) -> Self
pub const fn with_access_vsm(self, value: bool) -> Self
Bits: 48..49
Sourcepub fn set_access_vsm(&mut self, value: bool)
pub fn set_access_vsm(&mut self, value: bool)
Bits: 48..49
Sourcepub const fn access_vp_registers(&self) -> bool
pub const fn access_vp_registers(&self) -> bool
Bits: 49..50
Sourcepub const fn with_access_vp_registers(self, value: bool) -> Self
pub const fn with_access_vp_registers(self, value: bool) -> Self
Bits: 49..50
Sourcepub fn set_access_vp_registers(&mut self, value: bool)
pub fn set_access_vp_registers(&mut self, value: bool)
Bits: 49..50
Sourcepub const fn fast_hypercall_output(&self) -> bool
pub const fn fast_hypercall_output(&self) -> bool
Bits: 51..52
Sourcepub const fn with_fast_hypercall_output(self, value: bool) -> Self
pub const fn with_fast_hypercall_output(self, value: bool) -> Self
Bits: 51..52
Sourcepub fn set_fast_hypercall_output(&mut self, value: bool)
pub fn set_fast_hypercall_output(&mut self, value: bool)
Bits: 51..52
Sourcepub const fn enable_extended_hypercalls(&self) -> bool
pub const fn enable_extended_hypercalls(&self) -> bool
Bits: 52..53
Sourcepub const fn with_enable_extended_hypercalls(self, value: bool) -> Self
pub const fn with_enable_extended_hypercalls(self, value: bool) -> Self
Bits: 52..53
Sourcepub fn set_enable_extended_hypercalls(&mut self, value: bool)
pub fn set_enable_extended_hypercalls(&mut self, value: bool)
Bits: 52..53
Sourcepub const fn start_virtual_processor(&self) -> bool
pub const fn start_virtual_processor(&self) -> bool
Bits: 53..54
Sourcepub const fn with_start_virtual_processor(self, value: bool) -> Self
pub const fn with_start_virtual_processor(self, value: bool) -> Self
Bits: 53..54
Sourcepub fn set_start_virtual_processor(&mut self, value: bool)
pub fn set_start_virtual_processor(&mut self, value: bool)
Bits: 53..54
Sourcepub const fn with_isolation(self, value: bool) -> Self
pub const fn with_isolation(self, value: bool) -> Self
Bits: 54..55
Sourcepub fn set_isolation(&mut self, value: bool)
pub fn set_isolation(&mut self, value: bool)
Bits: 54..55
Trait Implementations§
Source§impl Clone for HvPartitionPrivilege
impl Clone for HvPartitionPrivilege
Source§fn clone(&self) -> HvPartitionPrivilege
fn clone(&self) -> HvPartitionPrivilege
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more