pub struct StreamSubscription { /* private fields */ }Implementations§
Source§impl StreamSubscription
impl StreamSubscription
Sourcepub async fn wait_for_first_sync(&self)
pub async fn wait_for_first_sync(&self)
Returns a future that completes once this stream has fully synced at least once.
pub fn unsubscribe(self)
Trait Implementations§
Source§impl Clone for StreamSubscription
impl Clone for StreamSubscription
Source§fn clone(&self) -> StreamSubscription
fn clone(&self) -> StreamSubscription
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StreamSubscription
impl !RefUnwindSafe for StreamSubscription
impl Send for StreamSubscription
impl Sync for StreamSubscription
impl Unpin for StreamSubscription
impl UnsafeUnpin for StreamSubscription
impl !UnwindSafe for StreamSubscription
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