pub struct NatsEventBus { /* private fields */ }
Implementations§
Source§impl NatsEventBus
impl NatsEventBus
pub fn new(consumer_group: String, client: Client) -> NatsEventBus
Trait Implementations§
Source§impl Publisher for NatsEventBus
impl Publisher for NatsEventBus
Auto Trait Implementations§
impl Freeze for NatsEventBus
impl RefUnwindSafe for NatsEventBus
impl Send for NatsEventBus
impl Sync for NatsEventBus
impl Unpin for NatsEventBus
impl UnwindSafe for NatsEventBus
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