pub struct LatencySummary {
pub min_us: i64,
pub median_us: i64,
pub p95_us: i64,
pub max_us: i64,
pub samples: usize,
}Expand description
The observed skewed latency distribution of one key (#119):
(arrival wall-clock − publisher HLC), µs, over the last LAT_WINDOW
(a private bound) stamped samples.
The caveat is part of the measurement: this contains clock skew, and HLCs are only as good as the fleet’s time discipline. Negative values are the skew evidence and are never clamped — render this as “observed skewed latency”, an observation, not a verdict on the transport (RFC 09 §5.1 applied to a number).
Fields§
§min_us: i64§median_us: i64§p95_us: i64§max_us: i64§samples: usizeStamped samples in the window.
Trait Implementations§
Source§impl Clone for LatencySummary
impl Clone for LatencySummary
Source§fn clone(&self) -> LatencySummary
fn clone(&self) -> LatencySummary
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 moreimpl Copy for LatencySummary
Source§impl Debug for LatencySummary
impl Debug for LatencySummary
impl Eq for LatencySummary
Source§impl PartialEq for LatencySummary
impl PartialEq for LatencySummary
Source§impl Serialize for LatencySummary
impl Serialize for LatencySummary
impl StructuralPartialEq for LatencySummary
Auto Trait Implementations§
impl Freeze for LatencySummary
impl RefUnwindSafe for LatencySummary
impl Send for LatencySummary
impl Sync for LatencySummary
impl Unpin for LatencySummary
impl UnsafeUnpin for LatencySummary
impl UnwindSafe for LatencySummary
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more