Trait optee_utee::property::PropertyValue

source ·
pub trait PropertyValue: Sized {
    // Required method
    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§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PropertyValue for bool

source§

impl PropertyValue for u32

source§

impl PropertyValue for u64

source§

impl PropertyValue for String

Implements the PropertyValue trait for all return types: String, Bool, u32, u64, BinaryBlock, UUID, Identity.

source§

impl PropertyValue for Vec<u8>

Implementors§