Struct metrics::BytesLatencyStats
source · pub struct BytesLatencyStats {
pub latency: DetailedHistogram<u64, u64>,
pub bytes_transferred: DetailedHistogram<u64, Range<u64>>,
}
Expand description
A helper struct to collect metrics for byte transferred and latency.
Fields§
§latency: DetailedHistogram<u64, u64>
Collects latency related metrics. The unit, u64, is large enough to hold nano-second granularity.
bytes_transferred: DetailedHistogram<u64, Range<u64>>
Collects bytes transferred metrics. The unit, u64, is large enough to hold byte level offset and length.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BytesLatencyStats
impl Send for BytesLatencyStats
impl Sync for BytesLatencyStats
impl Unpin for BytesLatencyStats
impl UnwindSafe for BytesLatencyStats
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