[][src]Struct optee_teec::PluginParameters

pub struct PluginParameters<'a> {
    pub cmd: u32,
    pub sub_cmd: u32,
    pub inout: &'a mut [u8],
    // some fields omitted
}

struct PluginParameters { @cmd: u32, plugin cmd, defined in proto/ @sub_cmd: u32, plugin subcmd, defined in proto/ @inout: &'a mut u8, input/output buffer shared with TA and plugin @outlen, length of output sent to TA }

Fields

cmd: u32sub_cmd: u32inout: &'a mut [u8]

Methods

impl<'a> PluginParameters<'a>[src]

pub fn new(cmd: u32, sub_cmd: u32, inout: &'a mut [u8]) -> Self[src]

pub fn set_buf_from_slice(&mut self, sendslice: &[u8]) -> Result<()>[src]

pub fn get_out_slice(&self) -> &[u8][src]

Auto Trait Implementations

impl<'a> Sync for PluginParameters<'a>

impl<'a> Send for PluginParameters<'a>

impl<'a> Unpin for PluginParameters<'a>

impl<'a> RefUnwindSafe for PluginParameters<'a>

impl<'a> !UnwindSafe for PluginParameters<'a>

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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