pub struct StreamHub { /* private fields */ }Implementations§
Trait Implementations§
Source§impl StreamNotifier for StreamHub
impl StreamNotifier for StreamHub
Source§fn subscribe(&self) -> StreamNotification
fn subscribe(&self) -> StreamNotification
Atomically snapshot the visible batch frontier and return a notifier
that wakes when the frontier may have advanced.
Source§fn current_sequence(&self) -> u64
fn current_sequence(&self) -> u64
Highest batch sequence currently visible to live subscribers.
Auto Trait Implementations§
impl !Freeze for StreamHub
impl RefUnwindSafe for StreamHub
impl Send for StreamHub
impl Sync for StreamHub
impl Unpin for StreamHub
impl UnsafeUnpin for StreamHub
impl UnwindSafe for StreamHub
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