pub struct TdxVpEnterRaxResult(/* private fields */);Implementations§
Source§impl TdxVpEnterRaxResult
 
impl TdxVpEnterRaxResult
Sourcepub const fn with_vmx_exit_checked(self, value: VmxExit) -> Result<Self, ()>
 
pub const fn with_vmx_exit_checked(self, value: VmxExit) -> Result<Self, ()>
The VMX exit code for VP.ENTER, if valid.
Bits: 0..32
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 const fn set_vmx_exit(&mut self, value: VmxExit)
 
pub const fn set_vmx_exit(&mut self, value: VmxExit)
The VMX exit code for VP.ENTER, if valid.
Bits: 0..32
Sourcepub const fn set_vmx_exit_checked(&mut self, value: VmxExit) -> Result<(), ()>
 
pub const fn set_vmx_exit_checked(&mut self, value: VmxExit) -> Result<(), ()>
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_checked(
    self,
    value: TdCallResultCode,
) -> Result<Self, ()>
 
pub const fn with_tdx_exit_checked( self, value: TdCallResultCode, ) -> Result<Self, ()>
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 const fn set_tdx_exit(&mut self, value: TdCallResultCode)
 
pub const fn set_tdx_exit(&mut self, value: TdCallResultCode)
The TDX specific exit code.
Bits: 32..64
Sourcepub const fn set_tdx_exit_checked(
    &mut self,
    value: TdCallResultCode,
) -> Result<(), ()>
 
pub const fn set_tdx_exit_checked( &mut self, value: TdCallResultCode, ) -> Result<(), ()>
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 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 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