pub struct EventStats {
pub events_dispatched: usize,
pub handlers_count: usize,
pub events_filtered: usize,
pub async_events_queued: usize,
pub avg_processing_time_us: u64,
}Expand description
Statistics about event handling
Fields§
§events_dispatched: usizeTotal number of events dispatched
handlers_count: usizeNumber of handlers currently registered
events_filtered: usizeNumber of events dropped due to filters
async_events_queued: usizeNumber of async events queued
avg_processing_time_us: u64Average event processing time in microseconds
Trait Implementations§
Source§impl Clone for EventStats
impl Clone for EventStats
Source§fn clone(&self) -> EventStats
fn clone(&self) -> EventStats
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 moreSource§impl Debug for EventStats
impl Debug for EventStats
Source§impl PartialEq for EventStats
impl PartialEq for EventStats
impl Eq for EventStats
impl StructuralPartialEq for EventStats
Auto Trait Implementations§
impl Freeze for EventStats
impl RefUnwindSafe for EventStats
impl Send for EventStats
impl Sync for EventStats
impl Unpin for EventStats
impl UnwindSafe for EventStats
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