pub struct ShmEventsMpscTx { /* private fields */ }Expand description
SHM-backed events-chain TX lane (MPSC) over EventsChainLayout4.
Implementations§
Source§impl ShmEventsMpscTx
impl ShmEventsMpscTx
Sourcepub fn publish_with<F, E>(&self, f: F) -> Result<(), PublishWithError<E>>
pub fn publish_with<F, E>(&self, f: F) -> Result<(), PublishWithError<E>>
Publish by writing directly into the backing slot buffer.
Sourcepub fn publish_slot(&self, slot: EventsSlot) -> Result<(), LaneTxError>
pub fn publish_slot(&self, slot: EventsSlot) -> Result<(), LaneTxError>
Publish a previously-received slot (slot forwarding).
Trait Implementations§
Source§impl LaneTx for ShmEventsMpscTx
impl LaneTx for ShmEventsMpscTx
Source§impl LaneTxSlot<EventsSlot> for ShmEventsMpscTx
impl LaneTxSlot<EventsSlot> for ShmEventsMpscTx
Source§fn publish_slot(
&mut self,
slot: EventsSlot,
) -> Result<(), LaneTxSlotError<EventsSlot>>
fn publish_slot( &mut self, slot: EventsSlot, ) -> Result<(), LaneTxSlotError<EventsSlot>>
Publish an owned slot.
Source§impl LaneTxWith for ShmEventsMpscTx
impl LaneTxWith for ShmEventsMpscTx
Auto Trait Implementations§
impl Freeze for ShmEventsMpscTx
impl !RefUnwindSafe for ShmEventsMpscTx
impl Send for ShmEventsMpscTx
impl Sync for ShmEventsMpscTx
impl Unpin for ShmEventsMpscTx
impl !UnwindSafe for ShmEventsMpscTx
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