pub struct TdxL2Ctls(/* private fields */);
Implementations§
source§impl TdxL2Ctls
impl TdxL2Ctls
Bits: 0..1
Bits: 0..1
Bits: 0..1
sourcepub const fn enable_tdvmcall(&self) -> bool
pub const fn enable_tdvmcall(&self) -> bool
Bits: 1..2
sourcepub const fn with_enable_tdvmcall(self, value: bool) -> Self
pub const fn with_enable_tdvmcall(self, value: bool) -> Self
Bits: 1..2
sourcepub fn set_enable_tdvmcall(&mut self, value: bool)
pub fn set_enable_tdvmcall(&mut self, value: bool)
Bits: 1..2
sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 2..64
sourcepub fn set_reserved(&mut self, value: u64)
pub fn set_reserved(&mut self, value: u64)
Bits: 2..64
Trait Implementations§
impl Copy for TdxL2Ctls
Auto Trait Implementations§
impl Freeze for TdxL2Ctls
impl RefUnwindSafe for TdxL2Ctls
impl Send for TdxL2Ctls
impl Sync for TdxL2Ctls
impl Unpin for TdxL2Ctls
impl UnwindSafe for TdxL2Ctls
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)