pub struct ShmEventsRx { /* private fields */ }Expand description
SHM-backed events-chain RX lane over EventsChainLayout4.
Implementations§
Source§impl ShmEventsRx
impl ShmEventsRx
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 ShmEventsRx
impl LaneRx for ShmEventsRx
Source§impl LaneRxBorrow for ShmEventsRx
impl LaneRxBorrow for ShmEventsRx
Auto Trait Implementations§
impl Freeze for ShmEventsRx
impl !RefUnwindSafe for ShmEventsRx
impl Send for ShmEventsRx
impl !Sync for ShmEventsRx
impl Unpin for ShmEventsRx
impl !UnwindSafe for ShmEventsRx
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