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)
Auto 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