pub struct PubSubStats {
pub total_subscriptions: usize,
pub pattern_count: usize,
pub exact_patterns: usize,
pub wildcard_patterns: usize,
}Expand description
Statistics for pub/sub system
Fields§
§total_subscriptions: usize§pattern_count: usize§exact_patterns: usize§wildcard_patterns: usizeTrait Implementations§
Source§impl Clone for PubSubStats
impl Clone for PubSubStats
Source§fn clone(&self) -> PubSubStats
fn clone(&self) -> PubSubStats
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 PubSubStats
impl RefUnwindSafe for PubSubStats
impl Send for PubSubStats
impl Sync for PubSubStats
impl Unpin for PubSubStats
impl UnwindSafe for PubSubStats
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