Struct optee_utee::object::AttributeValue [−][src]
pub struct AttributeValue { /* fields omitted */ }
Expand description
A value attribute.
Implementations
Populate a single attribute with two u32 values.
Parameters
id
: The AttributeIdAttributeId is an identifier of the attribute to populate.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
Auto Trait Implementations
impl RefUnwindSafe for AttributeValue
impl !Send for AttributeValue
impl !Sync for AttributeValue
impl Unpin for AttributeValue
impl UnwindSafe for AttributeValue
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.