pub struct MTMsgQueue<'a, M> { /* private fields */ }Expand description
Message queue for task-to-task communication
Implementations§
Source§impl<'a, M> MTMsgQueue<'a, M>
impl<'a, M> MTMsgQueue<'a, M>
Sourcepub fn ch<'q>(
&'q mut self,
) -> (MTMsgSender<'a, 'q, M>, MTMsgReceiver<'a, 'q, M>)
pub fn ch<'q>( &'q mut self, ) -> (MTMsgSender<'a, 'q, M>, MTMsgReceiver<'a, 'q, M>)
Gets sending and receving channels.
- Returns a tuple of the sender and receiver pair.
Auto Trait Implementations§
impl<'a, M> Freeze for MTMsgQueue<'a, M>
impl<'a, M> RefUnwindSafe for MTMsgQueue<'a, M>where
M: RefUnwindSafe,
impl<'a, M> !Send for MTMsgQueue<'a, M>
impl<'a, M> !Sync for MTMsgQueue<'a, M>
impl<'a, M> Unpin for MTMsgQueue<'a, M>
impl<'a, M> UnwindSafe for MTMsgQueue<'a, M>where
M: RefUnwindSafe,
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