pub struct EventSnapshot {
pub received: u64,
pub malformed: u64,
pub filtered: u64,
pub elapsed: f32,
}Expand description
Immutable view of event statistics.
Fields§
§received: u64§malformed: u64§filtered: u64§elapsed: f32Trait Implementations§
Source§impl Clone for EventSnapshot
impl Clone for EventSnapshot
Source§fn clone(&self) -> EventSnapshot
fn clone(&self) -> EventSnapshot
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 EventSnapshot
impl Debug for EventSnapshot
Source§impl PartialEq for EventSnapshot
impl PartialEq for EventSnapshot
impl Copy for EventSnapshot
impl StructuralPartialEq for EventSnapshot
Auto Trait Implementations§
impl Freeze for EventSnapshot
impl RefUnwindSafe for EventSnapshot
impl Send for EventSnapshot
impl Sync for EventSnapshot
impl Unpin for EventSnapshot
impl UnwindSafe for EventSnapshot
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