pub struct TeeCapability {
pub available: bool,
pub tee_type: Option<TeeType>,
pub sev_guest_device: bool,
pub sev_device: bool,
pub simulated: bool,
}Expand description
Result of probing the current environment for TEE support.
Fields§
§available: boolWhether a TEE environment is available.
tee_type: Option<TeeType>The type of TEE detected (if any).
sev_guest_device: boolWhether /dev/sev-guest exists (ioctl interface for attestation reports).
sev_device: boolWhether /dev/sev exists (SEV driver loaded).
simulated: boolWhether simulation mode is active.
Trait Implementations§
Source§impl Clone for TeeCapability
impl Clone for TeeCapability
Source§fn clone(&self) -> TeeCapability
fn clone(&self) -> TeeCapability
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 TeeCapability
impl Debug for TeeCapability
Source§impl<'de> Deserialize<'de> for TeeCapability
impl<'de> Deserialize<'de> for TeeCapability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TeeCapability
impl PartialEq for TeeCapability
Source§impl Serialize for TeeCapability
impl Serialize for TeeCapability
impl Eq for TeeCapability
impl StructuralPartialEq for TeeCapability
Auto Trait Implementations§
impl Freeze for TeeCapability
impl RefUnwindSafe for TeeCapability
impl Send for TeeCapability
impl Sync for TeeCapability
impl Unpin for TeeCapability
impl UnsafeUnpin for TeeCapability
impl UnwindSafe for TeeCapability
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.