Struct optee_teec::PluginMethod
source · #[repr(C)]pub struct PluginMethod {
pub name: *const c_char,
pub uuid: TEEC_UUID,
pub init: fn() -> Result<()>,
pub invoke: fn(cmd: u32, sub_cmd: u32, data: *mut c_char, in_len: u32, out_len: *mut u32) -> Result<()>,
}
Fields§
§name: *const c_char
§uuid: TEEC_UUID
§init: fn() -> Result<()>
§invoke: fn(cmd: u32, sub_cmd: u32, data: *mut c_char, in_len: u32, out_len: *mut u32) -> Result<()>
Auto Trait Implementations§
impl Freeze for PluginMethod
impl RefUnwindSafe for PluginMethod
impl !Send for PluginMethod
impl !Sync for PluginMethod
impl Unpin for PluginMethod
impl UnwindSafe for PluginMethod
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more