Struct x86defs::tdx::TdCallResult
source · pub struct TdCallResult(/* private fields */);
Expand description
The result returned by a tdcall instruction in rax.
Implementations§
source§impl TdCallResult
impl TdCallResult
sourcepub const fn with_details(self, value: u32) -> Self
pub const fn with_details(self, value: u32) -> Self
Bits: 0..32
sourcepub fn set_details(&mut self, value: u32)
pub fn set_details(&mut self, value: u32)
Bits: 0..32
sourcepub const fn code(&self) -> TdCallResultCode
pub const fn code(&self) -> TdCallResultCode
Bits: 32..64
sourcepub const fn with_code(self, value: TdCallResultCode) -> Self
pub const fn with_code(self, value: TdCallResultCode) -> Self
Bits: 32..64
sourcepub fn set_code(&mut self, value: TdCallResultCode)
pub fn set_code(&mut self, value: TdCallResultCode)
Bits: 32..64
Trait Implementations§
source§impl Clone for TdCallResult
impl Clone for TdCallResult
source§fn clone(&self) -> TdCallResult
fn clone(&self) -> TdCallResult
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 TdCallResult
impl Debug for TdCallResult
source§impl Default for TdCallResult
impl Default for TdCallResult
source§impl From<TdCallResult> for u64
impl From<TdCallResult> for u64
source§fn from(v: TdCallResult) -> u64
fn from(v: TdCallResult) -> u64
Converts to this type from the input type.
source§impl From<u64> for TdCallResult
impl From<u64> for TdCallResult
impl Copy for TdCallResult
Auto Trait Implementations§
impl Freeze for TdCallResult
impl RefUnwindSafe for TdCallResult
impl Send for TdCallResult
impl Sync for TdCallResult
impl Unpin for TdCallResult
impl UnwindSafe for TdCallResult
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
)