pub struct ShmEventsMpscRx { /* private fields */ }Expand description
SHM-backed events-chain RX lane (MPSC) over EventsChainLayout4.
Implementations§
Source§impl ShmEventsMpscRx
impl ShmEventsMpscRx
Sourcepub fn try_recv_with<F, R, E>(
&self,
f: F,
) -> Result<Option<R>, RecvWithError<E>>
pub fn try_recv_with<F, R, E>( &self, f: F, ) -> Result<Option<R>, RecvWithError<E>>
Receive by borrowing the slot bytes for the duration of f.
Sourcepub fn try_recv_slot(&self) -> Result<Option<EventsSlot>, Error>
pub fn try_recv_slot(&self) -> Result<Option<EventsSlot>, Error>
Receive a message as an owned slot handle (for slot forwarding).
Trait Implementations§
Source§impl LaneRx for ShmEventsMpscRx
impl LaneRx for ShmEventsMpscRx
Source§impl LaneRxBorrow for ShmEventsMpscRx
impl LaneRxBorrow for ShmEventsMpscRx
Auto Trait Implementations§
impl Freeze for ShmEventsMpscRx
impl !RefUnwindSafe for ShmEventsMpscRx
impl Send for ShmEventsMpscRx
impl !Sync for ShmEventsMpscRx
impl Unpin for ShmEventsMpscRx
impl !UnwindSafe for ShmEventsMpscRx
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