#[repr(transparent)]pub struct TdispInterfaceState(pub u64);Expand description
The TDISP interface state returned in RCX by
TDG.TDI.RD(GET_TDISP_STATE).
The TDX Connect ABI EAS defers the encoding to [PCI-SIG, TDISP] v1.0, which is where these values come from.
Tuple Fields§
§0: u64Implementations§
Source§impl TdispInterfaceState
impl TdispInterfaceState
pub const CONFIG_UNLOCKED: TdispInterfaceState
pub const CONFIG_LOCKED: TdispInterfaceState
pub const RUN: TdispInterfaceState
pub const ERROR: TdispInterfaceState
Trait Implementations§
Source§impl Clone for TdispInterfaceState
impl Clone for TdispInterfaceState
Source§fn clone(&self) -> TdispInterfaceState
fn clone(&self) -> TdispInterfaceState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TdispInterfaceState
impl Debug for TdispInterfaceState
Source§impl Hash for TdispInterfaceState
impl Hash for TdispInterfaceState
Source§impl Ord for TdispInterfaceState
impl Ord for TdispInterfaceState
Source§fn cmp(&self, other: &TdispInterfaceState) -> Ordering
fn cmp(&self, other: &TdispInterfaceState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TdispInterfaceState
impl PartialEq for TdispInterfaceState
Source§fn eq(&self, other: &TdispInterfaceState) -> bool
fn eq(&self, other: &TdispInterfaceState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TdispInterfaceState
impl PartialOrd for TdispInterfaceState
impl Copy for TdispInterfaceState
impl Eq for TdispInterfaceState
impl StructuralPartialEq for TdispInterfaceState
Auto Trait Implementations§
impl Freeze for TdispInterfaceState
impl RefUnwindSafe for TdispInterfaceState
impl Send for TdispInterfaceState
impl Sync for TdispInterfaceState
impl Unpin for TdispInterfaceState
impl UnsafeUnpin for TdispInterfaceState
impl UnwindSafe for TdispInterfaceState
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