pub struct EventIteratorStats {
pub events_received: u64,
pub events_delivered: u64,
pub resync_events_emitted: u64,
pub timeouts: u64,
}Expand description
Statistics for event iterator usage
Fields§
§events_received: u64Events received from the channel
events_delivered: u64Events delivered to the consumer
resync_events_emitted: u64Resync events generated
timeouts: u64Timeouts occurred
Implementations§
Source§impl EventIteratorStats
impl EventIteratorStats
Sourcepub fn delivery_rate(&self) -> f64
pub fn delivery_rate(&self) -> f64
Get the delivery rate (events delivered / events received)
Trait Implementations§
Source§impl Clone for EventIteratorStats
impl Clone for EventIteratorStats
Source§fn clone(&self) -> EventIteratorStats
fn clone(&self) -> EventIteratorStats
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 EventIteratorStats
impl Debug for EventIteratorStats
Auto Trait Implementations§
impl Freeze for EventIteratorStats
impl RefUnwindSafe for EventIteratorStats
impl Send for EventIteratorStats
impl Sync for EventIteratorStats
impl Unpin for EventIteratorStats
impl UnsafeUnpin for EventIteratorStats
impl UnwindSafe for EventIteratorStats
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