pub struct LatencyDistributionV2 {
pub version: u16,
pub metric_id: MetricId,
pub macro_stage_id: MacroStageId,
pub call_count: u64,
pub minimum_ns: u64,
pub maximum_ns: u64,
pub p50_ns: u64,
pub p90_ns: u64,
pub p95_ns: u64,
pub p99_ns: u64,
pub buckets: Vec<LatencyBucketV2>,
}Expand description
Allocation-free hot-path call latency distribution for one micro-function.
Fields§
§version: u16§metric_id: MetricId§macro_stage_id: MacroStageId§call_count: u64§minimum_ns: u64§maximum_ns: u64§p50_ns: u64Nearest-rank p50, represented by the retained logarithmic bucket’s upper bound.
p90_ns: u64Nearest-rank p90, represented by the retained logarithmic bucket’s upper bound.
p95_ns: u64Nearest-rank p95, represented by the retained logarithmic bucket’s upper bound.
p99_ns: u64Nearest-rank p99, represented by the retained logarithmic bucket’s upper bound.
buckets: Vec<LatencyBucketV2>Trait Implementations§
Source§impl Clone for LatencyDistributionV2
impl Clone for LatencyDistributionV2
Source§fn clone(&self) -> LatencyDistributionV2
fn clone(&self) -> LatencyDistributionV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LatencyDistributionV2
impl Debug for LatencyDistributionV2
Source§impl<'de> Deserialize<'de> for LatencyDistributionV2
impl<'de> Deserialize<'de> for LatencyDistributionV2
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
impl Eq for LatencyDistributionV2
Source§impl PartialEq for LatencyDistributionV2
impl PartialEq for LatencyDistributionV2
Source§impl Serialize for LatencyDistributionV2
impl Serialize for LatencyDistributionV2
impl StructuralPartialEq for LatencyDistributionV2
Auto Trait Implementations§
impl Freeze for LatencyDistributionV2
impl RefUnwindSafe for LatencyDistributionV2
impl Send for LatencyDistributionV2
impl Sync for LatencyDistributionV2
impl Unpin for LatencyDistributionV2
impl UnsafeUnpin for LatencyDistributionV2
impl UnwindSafe for LatencyDistributionV2
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