pub struct DelayTrend {
pub measurement_ms: f64,
pub estimate_ms: f64,
pub at: Instant,
pub size: usize,
}Expand description
One filtered delay-gradient reading.
Fields§
§measurement_ms: f64The raw inter-group measurement, in milliseconds.
estimate_ms: f64The filtered trend, in milliseconds. This is what the overuse detector compares.
at: InstantWhen the measurement belongs to.
size: usizeBytes in the group this reading closed, for the received-rate calculation.
Trait Implementations§
Source§impl Clone for DelayTrend
impl Clone for DelayTrend
Source§fn clone(&self) -> DelayTrend
fn clone(&self) -> DelayTrend
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 DelayTrend
Source§impl Debug for DelayTrend
impl Debug for DelayTrend
Source§impl PartialEq for DelayTrend
impl PartialEq for DelayTrend
impl StructuralPartialEq for DelayTrend
Auto Trait Implementations§
impl Freeze for DelayTrend
impl RefUnwindSafe for DelayTrend
impl Send for DelayTrend
impl Sync for DelayTrend
impl Unpin for DelayTrend
impl UnsafeUnpin for DelayTrend
impl UnwindSafe for DelayTrend
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