pub struct LoadMetrics {
pub buffer_utilization: f64,
pub avg_latency: Duration,
pub peak_latency: Duration,
pub throughput: f64,
pub dropped_elements: u64,
pub backpressure_events: u64,
}Expand description
Metrics for load monitoring.
Fields§
§buffer_utilization: f64Current buffer utilization (0.0 to 1.0)
avg_latency: DurationAverage latency
peak_latency: DurationPeak latency
throughput: f64Throughput (elements per second)
dropped_elements: u64Number of dropped elements
backpressure_events: u64Number of backpressure events
Trait Implementations§
Source§impl Clone for LoadMetrics
impl Clone for LoadMetrics
Source§fn clone(&self) -> LoadMetrics
fn clone(&self) -> LoadMetrics
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 LoadMetrics
impl Debug for LoadMetrics
Auto Trait Implementations§
impl Freeze for LoadMetrics
impl RefUnwindSafe for LoadMetrics
impl Send for LoadMetrics
impl Sync for LoadMetrics
impl Unpin for LoadMetrics
impl UnsafeUnpin for LoadMetrics
impl UnwindSafe for LoadMetrics
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