pub struct Subscriber<S>where
S: Spec + 'static,{ /* private fields */ }Expand description
Lightweight sink used by producers to send events to subscribers.
You usually do not construct a Subscriber directly — it is provided to you in
the Spec::fetch_events callback so you can backfill a new subscription.
Implementations§
Source§impl<S> Subscriber<S>where
S: Spec + 'static,
impl<S> Subscriber<S>where
S: Spec + 'static,
Trait Implementations§
Source§impl<S> Clone for Subscriber<S>where
S: Spec + 'static,
impl<S> Clone for Subscriber<S>where
S: Spec + 'static,
Auto Trait Implementations§
impl<S> Freeze for Subscriber<S>
impl<S> RefUnwindSafe for Subscriber<S>
impl<S> Send for Subscriber<S>
impl<S> Sync for Subscriber<S>
impl<S> Unpin for Subscriber<S>
impl<S> UnwindSafe for Subscriber<S>
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