[][src]Struct optee_teec::Operation

pub struct Operation<A, B, C, D> {
    pub raw: TEEC_Operation,
    // some fields omitted
}

This type defines the payload of either an open session operation or an invoke command operation. It is also used for cancellation of operations, which may be desirable even if no payload is passed.

Fields

raw: TEEC_Operation

Methods

impl<A: Param, B: Param, C: Param, D: Param> Operation<A, B, C, D>[src]

pub fn new(started: u32, p0: A, p1: B, p2: C, p3: D) -> Operation<A, B, C, D>[src]

pub fn as_mut_raw_ptr(&mut self) -> *mut TEEC_Operation[src]

pub fn parameters(&self) -> (A, B, C, D)[src]

Auto Trait Implementations

impl<A, B, C, D> !Send for Operation<A, B, C, D>

impl<A, B, C, D> !Sync for Operation<A, B, C, D>

Blanket Implementations

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> Any for T where
    T: 'static + ?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.