pub struct SubscriptionMatched {
pub total: Counter,
pub current: Counter,
pub last_publication_handle: InstanceHandle,
}Expand description
Delivered to the
with_subscription_matched
callback when a writer matching this reader’s topic and QoS
is discovered.
Fields§
§total: CounterRunning count of writer matches over the lifetime of the reader.
current: CounterCurrent number of matched writers.
last_publication_handle: InstanceHandleInstance handle of the last writer that matched or unmatched.
Trait Implementations§
Source§impl Clone for SubscriptionMatched
impl Clone for SubscriptionMatched
Source§fn clone(&self) -> SubscriptionMatched
fn clone(&self) -> SubscriptionMatched
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 moreimpl Copy for SubscriptionMatched
Source§impl Debug for SubscriptionMatched
impl Debug for SubscriptionMatched
impl Eq for SubscriptionMatched
Source§impl From<dds_subscription_matched_status> for SubscriptionMatched
impl From<dds_subscription_matched_status> for SubscriptionMatched
Source§fn from(status: dds_subscription_matched_status_t) -> Self
fn from(status: dds_subscription_matched_status_t) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SubscriptionMatched
impl PartialEq for SubscriptionMatched
Source§fn eq(&self, other: &SubscriptionMatched) -> bool
fn eq(&self, other: &SubscriptionMatched) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubscriptionMatched
Auto Trait Implementations§
impl Freeze for SubscriptionMatched
impl RefUnwindSafe for SubscriptionMatched
impl Send for SubscriptionMatched
impl Sync for SubscriptionMatched
impl Unpin for SubscriptionMatched
impl UnsafeUnpin for SubscriptionMatched
impl UnwindSafe for SubscriptionMatched
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