pub struct HvRegisterVsmPartitionStatus(/* private fields */);Implementations§
Source§impl HvRegisterVsmPartitionStatus
impl HvRegisterVsmPartitionStatus
Sourcepub const fn enabled_vtl_set(&self) -> u16
pub const fn enabled_vtl_set(&self) -> u16
Bits: 0..16
Sourcepub const fn with_enabled_vtl_set_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_enabled_vtl_set_checked(self, value: u16) -> Result<Self, ()>
Bits: 0..16
Sourcepub const fn with_enabled_vtl_set(self, value: u16) -> Self
pub const fn with_enabled_vtl_set(self, value: u16) -> Self
Bits: 0..16
Sourcepub const fn set_enabled_vtl_set(&mut self, value: u16)
pub const fn set_enabled_vtl_set(&mut self, value: u16)
Bits: 0..16
Sourcepub const fn set_enabled_vtl_set_checked(
&mut self,
value: u16,
) -> Result<(), ()>
pub const fn set_enabled_vtl_set_checked( &mut self, value: u16, ) -> Result<(), ()>
Bits: 0..16
Sourcepub const fn maximum_vtl(&self) -> u8
pub const fn maximum_vtl(&self) -> u8
Bits: 16..20
Sourcepub const fn with_maximum_vtl_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_maximum_vtl_checked(self, value: u8) -> Result<Self, ()>
Bits: 16..20
Sourcepub const fn with_maximum_vtl(self, value: u8) -> Self
pub const fn with_maximum_vtl(self, value: u8) -> Self
Bits: 16..20
Sourcepub const fn set_maximum_vtl(&mut self, value: u8)
pub const fn set_maximum_vtl(&mut self, value: u8)
Bits: 16..20
Sourcepub const fn mbec_enabled_vtl_set(&self) -> u16
pub const fn mbec_enabled_vtl_set(&self) -> u16
Bits: 20..36
Sourcepub const fn with_mbec_enabled_vtl_set_checked(
self,
value: u16,
) -> Result<Self, ()>
pub const fn with_mbec_enabled_vtl_set_checked( self, value: u16, ) -> Result<Self, ()>
Bits: 20..36
Sourcepub const fn with_mbec_enabled_vtl_set(self, value: u16) -> Self
pub const fn with_mbec_enabled_vtl_set(self, value: u16) -> Self
Bits: 20..36
Sourcepub const fn set_mbec_enabled_vtl_set(&mut self, value: u16)
pub const fn set_mbec_enabled_vtl_set(&mut self, value: u16)
Bits: 20..36
Sourcepub const fn set_mbec_enabled_vtl_set_checked(
&mut self,
value: u16,
) -> Result<(), ()>
pub const fn set_mbec_enabled_vtl_set_checked( &mut self, value: u16, ) -> Result<(), ()>
Bits: 20..36
Sourcepub const fn supervisor_shadow_stack_enabled_vtl_set(&self) -> u8
pub const fn supervisor_shadow_stack_enabled_vtl_set(&self) -> u8
Bits: 36..40
Sourcepub const fn with_supervisor_shadow_stack_enabled_vtl_set_checked(
self,
value: u8,
) -> Result<Self, ()>
pub const fn with_supervisor_shadow_stack_enabled_vtl_set_checked( self, value: u8, ) -> Result<Self, ()>
Bits: 36..40
Sourcepub const fn with_supervisor_shadow_stack_enabled_vtl_set(
self,
value: u8,
) -> Self
pub const fn with_supervisor_shadow_stack_enabled_vtl_set( self, value: u8, ) -> Self
Bits: 36..40
Sourcepub const fn set_supervisor_shadow_stack_enabled_vtl_set(&mut self, value: u8)
pub const fn set_supervisor_shadow_stack_enabled_vtl_set(&mut self, value: u8)
Bits: 36..40
Sourcepub const fn set_supervisor_shadow_stack_enabled_vtl_set_checked(
&mut self,
value: u8,
) -> Result<(), ()>
pub const fn set_supervisor_shadow_stack_enabled_vtl_set_checked( &mut self, value: u8, ) -> Result<(), ()>
Bits: 36..40
Sourcepub const fn with_reserved_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u64) -> Result<Self, ()>
Bits: 40..64
Sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 40..64
Sourcepub const fn set_reserved(&mut self, value: u64)
pub const fn set_reserved(&mut self, value: u64)
Bits: 40..64
Trait Implementations§
Source§impl Clone for HvRegisterVsmPartitionStatus
impl Clone for HvRegisterVsmPartitionStatus
Source§fn clone(&self) -> HvRegisterVsmPartitionStatus
fn clone(&self) -> HvRegisterVsmPartitionStatus
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 Debug for HvRegisterVsmPartitionStatus
impl Debug for HvRegisterVsmPartitionStatus
Source§impl From<HvRegisterVsmPartitionStatus> for u64
impl From<HvRegisterVsmPartitionStatus> for u64
Source§fn from(v: HvRegisterVsmPartitionStatus) -> u64
fn from(v: HvRegisterVsmPartitionStatus) -> u64
Converts to this type from the input type.
Source§impl From<u64> for HvRegisterVsmPartitionStatus
impl From<u64> for HvRegisterVsmPartitionStatus
impl Copy for HvRegisterVsmPartitionStatus
Auto Trait Implementations§
impl Freeze for HvRegisterVsmPartitionStatus
impl RefUnwindSafe for HvRegisterVsmPartitionStatus
impl Send for HvRegisterVsmPartitionStatus
impl Sync for HvRegisterVsmPartitionStatus
impl Unpin for HvRegisterVsmPartitionStatus
impl UnwindSafe for HvRegisterVsmPartitionStatus
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