pub struct BasicStats {
pub total_events: usize,
pub high_priority_events: usize,
pub normal_priority_events: usize,
pub low_priority_events: usize,
pub dropped_events: usize,
pub backpressure_activations: usize,
}Expand description
Basic event statistics
Fields§
§total_events: usizeTotal number of events processed
high_priority_events: usizeNumber of high priority events processed
normal_priority_events: usizeNumber of normal priority events processed
low_priority_events: usizeNumber of low priority events processed
dropped_events: usizeNumber of events dropped due to queue overflow
backpressure_activations: usizeNumber of times backpressure was activated
Trait Implementations§
Source§impl Clone for BasicStats
impl Clone for BasicStats
Source§fn clone(&self) -> BasicStats
fn clone(&self) -> BasicStats
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 BasicStats
impl Debug for BasicStats
Source§impl Default for BasicStats
impl Default for BasicStats
Source§fn default() -> BasicStats
fn default() -> BasicStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasicStats
impl<'de> Deserialize<'de> for BasicStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BasicStats
impl RefUnwindSafe for BasicStats
impl Send for BasicStats
impl Sync for BasicStats
impl Unpin for BasicStats
impl UnwindSafe for BasicStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Inspectable for T
impl<T> Inspectable for T
Source§fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
Conditionally inspect this value
Source§fn inspect_with<F>(self, label: &str, f: F) -> Self
fn inspect_with<F>(self, label: &str, f: F) -> Self
Inspect with a custom formatter