pub struct IpccTxChannel<'a> { /* private fields */ }Expand description
IPCC TX Channel
Implementations§
Source§impl<'a> IpccTxChannel<'a>
impl<'a> IpccTxChannel<'a>
Sourcepub async fn send_exclusive<R>(&mut self, f: impl FnOnce() -> R) -> R
pub async fn send_exclusive<R>(&mut self, f: impl FnOnce() -> R) -> R
Send data to an IPCC channel, but wait until the corresponding rx channel is read before writing any data inside of the closure. The closure is called to write the data when appropriate.
Auto Trait Implementations§
impl<'a> Freeze for IpccTxChannel<'a>
impl<'a> RefUnwindSafe for IpccTxChannel<'a>
impl<'a> Send for IpccTxChannel<'a>
impl<'a> Sync for IpccTxChannel<'a>
impl<'a> Unpin for IpccTxChannel<'a>
impl<'a> !UnwindSafe for IpccTxChannel<'a>
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