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