#[repr(C)]pub struct NrHostVTable {
pub send_result: unsafe extern "C" fn(host_ctx: *mut c_void, sid: u64, status: NrStatus, payload: NrVec<u8>) -> NrStatus,
}Expand description
Host callback table.
Fields§
§send_result: unsafe extern "C" fn(host_ctx: *mut c_void, sid: u64, status: NrStatus, payload: NrVec<u8>) -> NrStatusTrait Implementations§
Source§impl Clone for NrHostVTable
impl Clone for NrHostVTable
Source§fn clone(&self) -> NrHostVTable
fn clone(&self) -> NrHostVTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NrHostVTable
Source§impl Debug for NrHostVTable
impl Debug for NrHostVTable
impl Send for NrHostVTable
impl Sync for NrHostVTable
Auto Trait Implementations§
impl Freeze for NrHostVTable
impl RefUnwindSafe for NrHostVTable
impl Unpin for NrHostVTable
impl UnsafeUnpin for NrHostVTable
impl UnwindSafe for NrHostVTable
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