pub struct PerformanceMetrics {
pub request_latencies: RwLock<LatencyTracker>,
pub connection_latencies: RwLock<LatencyTracker>,
pub throughput: RwLock<ThroughputTracker>,
pub retry_stats: RwLock<RetryStats>,
}Expand description
Performance-related metrics
Fields§
§request_latencies: RwLock<LatencyTracker>Request latency tracking
connection_latencies: RwLock<LatencyTracker>Connection establishment times
throughput: RwLock<ThroughputTracker>Throughput tracking
retry_stats: RwLock<RetryStats>Retry statistics
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PerformanceMetrics
impl !RefUnwindSafe for PerformanceMetrics
impl Send for PerformanceMetrics
impl Sync for PerformanceMetrics
impl Unpin for PerformanceMetrics
impl UnsafeUnpin for PerformanceMetrics
impl UnwindSafe for PerformanceMetrics
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