[][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.


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 Sync for ParamValue

impl Send for ParamValue

impl Unpin for ParamValue

impl RefUnwindSafe for ParamValue

impl UnwindSafe for ParamValue

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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