pub trait PropertyValue: Sized {
// Required method
unsafe fn from_raw(set: TEE_PropSetHandle, key: CString) -> Result<Self>;
}Expand description
Represents a TEE property value. The property value can be of different types, such as string, bool, u32, TEE_UUID, TEE_Identity, etc. The property value is obtained from the TEE property set using the TEE_GetPropertyAs* functions.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl PropertyValue for bool
impl PropertyValue for bool
Source§impl PropertyValue for u32
impl PropertyValue for u32
Source§impl PropertyValue for u64
impl PropertyValue for u64
Source§impl PropertyValue for String
Implements the PropertyValue trait for all return types:
String, Bool, u32, u64, BinaryBlock, UUID, Identity.
impl PropertyValue for String
Implements the PropertyValue trait for all return types: String, Bool, u32, u64, BinaryBlock, UUID, Identity.