Enum optee_teec::ParamType [−][src]
pub enum ParamType {
None,
ValueInput,
ValueOutput,
ValueInout,
MemrefTempInput,
MemrefTempOutput,
MemrefTempInout,
MemrefWhole,
MemrefPartialInput,
MemrefPartialOutput,
MemrefPartialInout,
}
Expand description
These are used to indicate the type of Parameter encoded inside the operation structure.
Variants
The Parameter is not used.
The Parameter is a TEEC_Value tagged as input.
The Parameter is a TEEC_Value tagged as output.
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.
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.
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.
A Temporary Memory Reference tagged as both input and output, i.e., for which both the behaviors of MemrefTempInput and MemrefTempOutput apply.
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.
A Registered Memory Reference structure that refers to a partial region of its parent Shared Memory block and is tagged as input.
A Registered Memory Reference structure that refers to a partial region of its parent Shared Memory block and is tagged as output.
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
Auto Trait Implementations
impl RefUnwindSafe for ParamType
impl UnwindSafe for ParamType
Blanket Implementations
Mutably borrows from an owned value. Read more