[][src]Struct optee_teec::ParamValue

pub struct ParamValue { /* fields omitted */ }

This type defines a parameter that is not referencing shared memory, but carries instead small raw data passed by value. It is used as a Operation parameter when the corresponding parameter type is one of ValueInput, ValueOutput, or ValueInout.

Methods

impl ParamValue[src]

pub fn new(a: u32, b: u32, param_type: ParamType) -> Self[src]

Creates a value parameter with two u32 integer and ParamType for operation.

pub fn a(&self) -> u32[src]

Returns the first value in the value parameter.

pub fn b(&self) -> u32[src]

Returns the second value in the value parameter.

Trait Implementations

impl Param for ParamValue[src]

Auto Trait Implementations

impl Send for ParamValue

impl Sync for ParamValue

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.