[][src]Enum optee_teec::ParamType

pub enum ParamType {
    None,
    ValueInput,
    ValueOutput,
    ValueInout,
    MemrefTempInput,
    MemrefTempOutput,
    MemrefTempInout,
    MemrefWhole,
    MemrefPartialInput,
    MemrefPartialOutput,
    MemrefPartialInout,
}

These are used to indicate the type of Parameter encoded inside the operation structure.

Variants

None

The Parameter is not used.

ValueInput

The Parameter is a TEEC_Value tagged as input.

ValueOutput

The Parameter is a TEEC_Value tagged as output.

ValueInout

The Parameter is a TEEC_Value tagged as both as input and output, i.e., for which both the behaviors of ValueInput and ValueOutput apply.

MemrefTempInput

The Parameter is a TEEC_TempMemoryReference describing a region of memory which needs to be temporarily registered for the duration of the Operation and is tagged as input.

MemrefTempOutput

Same as MemrefTempInput, but the Memory Reference is tagged as output. The Implementation may update the size field to reflect the required output size in some use cases.

MemrefTempInout

A Temporary Memory Reference tagged as both input and output, i.e., for which both the behaviors of MemrefTempInput and MemrefTempOutput apply.

MemrefWhole

The Parameter is a Registered Memory Reference that refers to the entirety of its parent Shared Memory block. The parameter structure is a TEEC_MemoryReference. In this structure, the Implementation MUST read only the parent field and MAY update the size field when the operation completes.

MemrefPartialInput

A Registered Memory Reference structure that refers to a partial region of its parent Shared Memory block and is tagged as input.

MemrefPartialOutput

A Registered Memory Reference structure that refers to a partial region of its parent Shared Memory block and is tagged as output.

MemrefPartialInout

The Registered Memory Reference structure that refers to a partial region of its parent Shared Memory block and is tagged as both input and output, i.e., for which both the behaviors of MemrefPartialInput and MemrefPartialOutput apply.

Trait Implementations

impl Copy for ParamType[src]

impl Clone for ParamType[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<u32> for ParamType[src]

Auto Trait Implementations

impl Send for ParamType

impl Sync for ParamType

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<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> 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.

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