[][src]Struct optee_utee::Parameter

pub struct Parameter {
    pub raw: *mut TEE_Param,
    pub param_type: ParamType,
}

Fields

raw: *mut TEE_Paramparam_type: ParamType

Methods

impl Parameter[src]

pub fn from_raw(ptr: *mut TEE_Param, param_type: ParamType) -> Self[src]

pub unsafe fn as_value(&mut self) -> Result<ParamValue>[src]

pub unsafe fn as_memref(&mut self) -> Result<ParamMemref>[src]

pub fn raw(&self) -> *mut TEE_Param[src]

Auto Trait Implementations

impl !Send for Parameter

impl Unpin for Parameter

impl !Sync for Parameter

impl RefUnwindSafe for Parameter

impl UnwindSafe for Parameter

Blanket Implementations

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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