pub struct MetricsSummary {
pub event_counts: HashMap<(Level, String), u64>,
pub throughput: ThroughputSummary,
pub latency: LatencySummary,
pub connections: ConnectionMetricsSummary,
}
Expand description
Metrics summary
Fields§
§event_counts: HashMap<(Level, String), u64>
Counts of log events by level and target
throughput: ThroughputSummary
Aggregate throughput statistics
latency: LatencySummary
Aggregate latency statistics
connections: ConnectionMetricsSummary
Aggregate connection lifecycle statistics
Trait Implementations§
Source§impl Clone for MetricsSummary
impl Clone for MetricsSummary
Source§fn clone(&self) -> MetricsSummary
fn clone(&self) -> MetricsSummary
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 moreAuto Trait Implementations§
impl Freeze for MetricsSummary
impl RefUnwindSafe for MetricsSummary
impl Send for MetricsSummary
impl Sync for MetricsSummary
impl Unpin for MetricsSummary
impl UnwindSafe for MetricsSummary
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