Struct hvdef::HvPartitionPrivilege
source · 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 moresource§impl Debug for HvPartitionPrivilege
impl Debug for HvPartitionPrivilege
source§impl Default for HvPartitionPrivilege
impl Default for HvPartitionPrivilege
source§impl From<HvPartitionPrivilege> for u64
impl From<HvPartitionPrivilege> for u64
source§fn from(v: HvPartitionPrivilege) -> u64
fn from(v: HvPartitionPrivilege) -> u64
source§impl From<u64> for HvPartitionPrivilege
impl From<u64> for HvPartitionPrivilege
impl Copy for HvPartitionPrivilege
Auto Trait Implementations§
impl Freeze for HvPartitionPrivilege
impl RefUnwindSafe for HvPartitionPrivilege
impl Send for HvPartitionPrivilege
impl Sync for HvPartitionPrivilege
impl Unpin for HvPartitionPrivilege
impl UnwindSafe for HvPartitionPrivilege
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
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)
clone_to_uninit
)