#[repr(C)]pub struct k_mbox_msg {
    pub size: usize,
    pub info: u32,
    pub tx_data: *mut c_void,
    pub rx_source_thread: k_tid_t,
    pub tx_target_thread: k_tid_t,
    pub _syncing_thread: k_tid_t,
    pub _async_sem: *mut k_sem,
}Expand description
@brief Mailbox Message Structure
Fields§
§size: usizesize of message (in bytes)
info: u32application-defined information value
tx_data: *mut c_voidsender’s message data buffer
rx_source_thread: k_tid_tsource thread id
tx_target_thread: k_tid_ttarget thread id
_syncing_thread: k_tid_tinternal use only - thread waiting on send (may be a dummy)
_async_sem: *mut k_seminternal use only - semaphore used during asynchronous send
Trait Implementations§
Source§impl Debug for k_mbox_msg
 
impl Debug for k_mbox_msg
Auto Trait Implementations§
impl Freeze for k_mbox_msg
impl RefUnwindSafe for k_mbox_msg
impl !Send for k_mbox_msg
impl !Sync for k_mbox_msg
impl Unpin for k_mbox_msg
impl UnwindSafe for k_mbox_msg
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