pub struct ThroughputStats {
pub current_rate: f64,
pub peak_rate: f64,
pub avg_rate_1m: f64,
pub avg_rate_5m: f64,
pub avg_processing_time_us: f64,
}Expand description
Throughput metrics
Fields§
§current_rate: f64Current events per second
peak_rate: f64Peak rate observed
avg_rate_1m: f64Average rate over last minute
avg_rate_5m: f64Average rate over last 5 minutes
avg_processing_time_us: f64Average processing time per event (microseconds)
Trait Implementations§
Source§impl Clone for ThroughputStats
impl Clone for ThroughputStats
Source§fn clone(&self) -> ThroughputStats
fn clone(&self) -> ThroughputStats
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 ThroughputStats
impl Debug for ThroughputStats
Source§impl Default for ThroughputStats
impl Default for ThroughputStats
Source§impl<'de> Deserialize<'de> for ThroughputStats
impl<'de> Deserialize<'de> for ThroughputStats
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 ThroughputStats
impl RefUnwindSafe for ThroughputStats
impl Send for ThroughputStats
impl Sync for ThroughputStats
impl Unpin for ThroughputStats
impl UnwindSafe for ThroughputStats
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