#[repr(C)]pub struct PluginMethod {
pub name: *const c_char,
pub uuid: TEEC_UUID,
pub init: unsafe extern "C" fn() -> TEEC_Result,
pub invoke: unsafe extern "C" fn(cmd: u32, sub_cmd: u32, data: *mut c_void, in_len: size_t, out_len: *mut size_t) -> TEEC_Result,
}Fields§
§name: *const c_char§uuid: TEEC_UUID§init: unsafe extern "C" fn() -> TEEC_Result§invoke: unsafe extern "C" fn(cmd: u32, sub_cmd: u32, data: *mut c_void, in_len: size_t, out_len: *mut size_t) -> TEEC_ResultAuto Trait Implementations§
impl Freeze for PluginMethod
impl RefUnwindSafe for PluginMethod
impl !Send for PluginMethod
impl !Sync for PluginMethod
impl Unpin for PluginMethod
impl UnsafeUnpin 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