pub struct PamojaEventBus { /* private fields */ }Expand description
An opaque handle to one endpoint on an event bus.
A handle both publishes and receives, and it receives what it publishes
itself. Each subscriber needs its own, taken with
pamoja_event_bus_subscribe, because a handle only sees events published
after it existed.
Auto Trait Implementations§
impl !Freeze for PamojaEventBus
impl !RefUnwindSafe for PamojaEventBus
impl Send for PamojaEventBus
impl Sync for PamojaEventBus
impl Unpin for PamojaEventBus
impl UnsafeUnpin for PamojaEventBus
impl UnwindSafe for PamojaEventBus
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