[−][src]Enum optee_teec::ParamType
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]
fn clone(&self) -> 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
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,