#[repr(C)]pub struct k_mbox {
pub tx_msg_queue: _wait_q_t,
pub rx_msg_queue: _wait_q_t,
pub lock: k_spinlock,
}
Expand description
@brief Mailbox Structure
Fields§
§tx_msg_queue: _wait_q_t
Transmit messages queue
rx_msg_queue: _wait_q_t
Receive message queue
lock: k_spinlock
Auto Trait Implementations§
impl Freeze for k_mbox
impl RefUnwindSafe for k_mbox
impl !Send for k_mbox
impl !Sync for k_mbox
impl Unpin for k_mbox
impl UnwindSafe for k_mbox
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