pub struct DiscoverySubscription { /* private fields */ }Implementations§
Source§impl DiscoverySubscription
impl DiscoverySubscription
pub fn id(&self) -> u64
pub fn poll_event(&self) -> Option<DiscoveryEvent>
pub fn pending_len(&self) -> usize
pub fn is_overflowed(&self) -> bool
Sourcepub fn resnapshot(&self) -> Result<TargetSnapshot, PlanError>
pub fn resnapshot(&self) -> Result<TargetSnapshot, PlanError>
Reconcile an overflowed or stale subscriber cursor against a fresh snapshot.
Sourcepub fn resnapshot_catalog(&self) -> Result<TargetCatalog, PlanError>
pub fn resnapshot_catalog(&self) -> Result<TargetCatalog, PlanError>
Reconcile an overflowed or stale subscriber cursor against a full TargetCatalog.
Trait Implementations§
Source§impl Clone for DiscoverySubscription
impl Clone for DiscoverySubscription
Source§fn clone(&self) -> DiscoverySubscription
fn clone(&self) -> DiscoverySubscription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Drop for DiscoverySubscription
impl Drop for DiscoverySubscription
Auto Trait Implementations§
impl Freeze for DiscoverySubscription
impl RefUnwindSafe for DiscoverySubscription
impl Send for DiscoverySubscription
impl Sync for DiscoverySubscription
impl Unpin for DiscoverySubscription
impl UnsafeUnpin for DiscoverySubscription
impl UnwindSafe for DiscoverySubscription
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