pub struct EventBusStats {
pub active_subscriptions: usize,
pub total_subscriptions: usize,
pub total_published: u64,
pub total_delivered: u64,
pub history_size: usize,
pub dead_letter_count: usize,
}Expand description
Statistics for the event bus.
Fields§
§active_subscriptions: usizeNumber of active subscriptions.
total_subscriptions: usizeTotal subscriptions (including inactive).
total_published: u64Total events published.
total_delivered: u64Total deliveries across all subscriptions.
history_size: usizeEvents in history.
dead_letter_count: usizeDead letter count.
Trait Implementations§
Source§impl Clone for EventBusStats
impl Clone for EventBusStats
Source§fn clone(&self) -> EventBusStats
fn clone(&self) -> EventBusStats
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 moreAuto Trait Implementations§
impl Freeze for EventBusStats
impl RefUnwindSafe for EventBusStats
impl Send for EventBusStats
impl Sync for EventBusStats
impl Unpin for EventBusStats
impl UnsafeUnpin for EventBusStats
impl UnwindSafe for EventBusStats
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