Struct x86defs::tdx::TdxVpEnterRaxResult
source · pub struct TdxVpEnterRaxResult(/* private fields */);
Implementations§
source§impl TdxVpEnterRaxResult
impl TdxVpEnterRaxResult
sourcepub const fn with_vmx_exit(self, value: VmxExit) -> Self
pub const fn with_vmx_exit(self, value: VmxExit) -> Self
The VMX exit code for VP.ENTER, if valid.
Bits: 0..32
sourcepub fn set_vmx_exit(&mut self, value: VmxExit)
pub fn set_vmx_exit(&mut self, value: VmxExit)
The VMX exit code for VP.ENTER, if valid.
Bits: 0..32
sourcepub const fn tdx_exit(&self) -> TdCallResultCode
pub const fn tdx_exit(&self) -> TdCallResultCode
The TDX specific exit code.
Bits: 32..64
sourcepub const fn with_tdx_exit(self, value: TdCallResultCode) -> Self
pub const fn with_tdx_exit(self, value: TdCallResultCode) -> Self
The TDX specific exit code.
Bits: 32..64
sourcepub fn set_tdx_exit(&mut self, value: TdCallResultCode)
pub fn set_tdx_exit(&mut self, value: TdCallResultCode)
The TDX specific exit code.
Bits: 32..64
Trait Implementations§
source§impl Clone for TdxVpEnterRaxResult
impl Clone for TdxVpEnterRaxResult
source§fn clone(&self) -> TdxVpEnterRaxResult
fn clone(&self) -> TdxVpEnterRaxResult
Returns a copy 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 TdxVpEnterRaxResult
impl Debug for TdxVpEnterRaxResult
source§impl Default for TdxVpEnterRaxResult
impl Default for TdxVpEnterRaxResult
source§impl From<TdxVpEnterRaxResult> for u64
impl From<TdxVpEnterRaxResult> for u64
source§fn from(v: TdxVpEnterRaxResult) -> u64
fn from(v: TdxVpEnterRaxResult) -> u64
Converts to this type from the input type.
source§impl From<u64> for TdxVpEnterRaxResult
impl From<u64> for TdxVpEnterRaxResult
impl Copy for TdxVpEnterRaxResult
Auto Trait Implementations§
impl Freeze for TdxVpEnterRaxResult
impl RefUnwindSafe for TdxVpEnterRaxResult
impl Send for TdxVpEnterRaxResult
impl Sync for TdxVpEnterRaxResult
impl Unpin for TdxVpEnterRaxResult
impl UnwindSafe for TdxVpEnterRaxResult
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
)