pub struct HvRegisterVsmVpSecureVtlConfig(/* private fields */);Implementations§
Source§impl HvRegisterVsmVpSecureVtlConfig
impl HvRegisterVsmVpSecureVtlConfig
Sourcepub const fn mbec_enabled(&self) -> bool
pub const fn mbec_enabled(&self) -> bool
Bits: 0..1
Sourcepub const fn with_mbec_enabled_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mbec_enabled_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_mbec_enabled(self, value: bool) -> Self
pub const fn with_mbec_enabled(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_mbec_enabled(&mut self, value: bool)
pub const fn set_mbec_enabled(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn tlb_locked(&self) -> bool
pub const fn tlb_locked(&self) -> bool
Bits: 1..2
Sourcepub const fn with_tlb_locked_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tlb_locked_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_tlb_locked(self, value: bool) -> Self
pub const fn with_tlb_locked(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn set_tlb_locked(&mut self, value: bool)
pub const fn set_tlb_locked(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn supervisor_shadow_stack_enabled(&self) -> bool
pub const fn supervisor_shadow_stack_enabled(&self) -> bool
Bits: 2..3
Sourcepub const fn with_supervisor_shadow_stack_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_supervisor_shadow_stack_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_supervisor_shadow_stack_enabled(self, value: bool) -> Self
pub const fn with_supervisor_shadow_stack_enabled(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_supervisor_shadow_stack_enabled(&mut self, value: bool)
pub const fn set_supervisor_shadow_stack_enabled(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn set_supervisor_shadow_stack_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_supervisor_shadow_stack_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 2..3
Sourcepub const fn hardware_hvpt_enabled(&self) -> bool
pub const fn hardware_hvpt_enabled(&self) -> bool
Bits: 3..4
Sourcepub const fn with_hardware_hvpt_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_hardware_hvpt_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_hardware_hvpt_enabled(self, value: bool) -> Self
pub const fn with_hardware_hvpt_enabled(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn set_hardware_hvpt_enabled(&mut self, value: bool)
pub const fn set_hardware_hvpt_enabled(&mut self, value: bool)
Bits: 3..4
Trait Implementations§
Source§impl Clone for HvRegisterVsmVpSecureVtlConfig
impl Clone for HvRegisterVsmVpSecureVtlConfig
Source§fn clone(&self) -> HvRegisterVsmVpSecureVtlConfig
fn clone(&self) -> HvRegisterVsmVpSecureVtlConfig
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 From<HvRegisterVsmVpSecureVtlConfig> for u64
impl From<HvRegisterVsmVpSecureVtlConfig> for u64
Source§fn from(v: HvRegisterVsmVpSecureVtlConfig) -> u64
fn from(v: HvRegisterVsmVpSecureVtlConfig) -> u64
Converts to this type from the input type.
Source§impl From<u64> for HvRegisterVsmVpSecureVtlConfig
impl From<u64> for HvRegisterVsmVpSecureVtlConfig
impl Copy for HvRegisterVsmVpSecureVtlConfig
Auto Trait Implementations§
impl Freeze for HvRegisterVsmVpSecureVtlConfig
impl RefUnwindSafe for HvRegisterVsmVpSecureVtlConfig
impl Send for HvRegisterVsmVpSecureVtlConfig
impl Sync for HvRegisterVsmVpSecureVtlConfig
impl Unpin for HvRegisterVsmVpSecureVtlConfig
impl UnwindSafe for HvRegisterVsmVpSecureVtlConfig
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