Struct optee_utee::object::AttributeValue[][src]

pub struct AttributeValue { /* fields omitted */ }
Expand description

A value attribute.

Implementations

Return the raw struct TEE_Attribute.

Populate a single attribute with two u32 values.

Parameters

  1. id: The AttributeIdAttributeId is an identifier of the attribute to populate.
  2. a, b: u32 values to assign to the members of the a value attribute.

Example

let mut attr = AttributeValue::from_value(AttributeId::SecretValue, 0, 0);

Trait Implementations

Convert the value attribute AttributeValue to the general attribute.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.