pub struct EventProcessorStats {
pub events_processed: u64,
pub upnp_events_received: u64,
pub polling_events_received: u64,
pub resync_events_received: u64,
pub processing_errors: u64,
pub unsupported_services: u64,
}Expand description
Statistics about event processing (maintained for compatibility)
Fields§
§events_processed: u64Total events processed successfully
upnp_events_received: u64UPnP events received from callback server
polling_events_received: u64Polling events received
resync_events_received: u64Resync events received
processing_errors: u64Processing errors encountered
unsupported_services: u64Events for unsupported services
Implementations§
Source§impl EventProcessorStats
impl EventProcessorStats
Sourcepub fn total_events_received(&self) -> u64
pub fn total_events_received(&self) -> u64
Get total events received (all sources)
Sourcepub fn success_rate(&self) -> f64
pub fn success_rate(&self) -> f64
Get processing success rate
Trait Implementations§
Source§impl Clone for EventProcessorStats
impl Clone for EventProcessorStats
Source§fn clone(&self) -> EventProcessorStats
fn clone(&self) -> EventProcessorStats
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 EventProcessorStats
impl Debug for EventProcessorStats
Auto Trait Implementations§
impl Freeze for EventProcessorStats
impl RefUnwindSafe for EventProcessorStats
impl Send for EventProcessorStats
impl Sync for EventProcessorStats
impl Unpin for EventProcessorStats
impl UnsafeUnpin for EventProcessorStats
impl UnwindSafe for EventProcessorStats
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