pub struct EventsSlot { /* private fields */ }Expand description
Owned handle to an Events slot (slot index + pool pointer).
This enables slot passing: forwarding a message by moving the slot index between queues without copying payload bytes.
§Safety / lifetime
This type contains a raw pointer to a shared-memory mapping. The caller must ensure the mapping outlives the slot handle.
Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for EventsSlot
impl AsRef<[u8]> for EventsSlot
Source§impl Debug for EventsSlot
impl Debug for EventsSlot
Source§impl Drop for EventsSlot
impl Drop for EventsSlot
impl Send for EventsSlot
Auto Trait Implementations§
impl Freeze for EventsSlot
impl !RefUnwindSafe for EventsSlot
impl !Sync for EventsSlot
impl Unpin for EventsSlot
impl !UnwindSafe for EventsSlot
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