#[non_exhaustive]pub struct ReleaseErrors {
pub count: u64,
pub p50_ns: u64,
pub p95_ns: u64,
pub max_ns: u64,
}Expand description
Observed lateness of deferred releases, in one session.
Measured end to end — from the unit’s release_at to the instant
its bytes were handed to the destination stream — so it includes the
wheel, the runtime wake and the engine, which is what a caller
actually cares about. A sample taken inside the release thread would
have reported 0.55 ms while the object went out at 0.9 ms.
Values are bucketed with two significant bits per octave, so each
quantile is the upper bound of its bucket and is accurate to within
25%; max_ns is exact.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.count: u64Deferred units released. Units written inline (never queued) and units flushed by a drain that ignores release times are excluded, so this is the number of units that actually waited.
p50_ns: u64Median lateness, nanoseconds (bucket upper bound).
p95_ns: u6495th-percentile lateness, nanoseconds (bucket upper bound).
max_ns: u64Worst lateness, nanoseconds. Exact.
Trait Implementations§
Source§impl Clone for ReleaseErrors
impl Clone for ReleaseErrors
Source§fn clone(&self) -> ReleaseErrors
fn clone(&self) -> ReleaseErrors
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more