pub struct InterGroupDelay {
pub delta_ms: f64,
pub at: Instant,
pub size: usize,
}Expand description
The delay gradient between two consecutive groups.
This is the measurement everything downstream is built on: if the path is not queueing, packets spread apart on arrival exactly as much as they were spread apart on departure, and this is zero. A growing queue makes arrivals spread more than departures, and it goes positive.
Fields§
§delta_ms: f64Arrival spread minus departure spread, in milliseconds. Positive means the queue is growing.
at: InstantWhen the later group’s last packet departed — the instant this measurement belongs to.
size: usizeBytes in the later group, for the rate calculation downstream.
Trait Implementations§
Source§impl Clone for InterGroupDelay
impl Clone for InterGroupDelay
Source§fn clone(&self) -> InterGroupDelay
fn clone(&self) -> InterGroupDelay
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 InterGroupDelay
Source§impl Debug for InterGroupDelay
impl Debug for InterGroupDelay
Source§impl PartialEq for InterGroupDelay
impl PartialEq for InterGroupDelay
impl StructuralPartialEq for InterGroupDelay
Auto Trait Implementations§
impl Freeze for InterGroupDelay
impl RefUnwindSafe for InterGroupDelay
impl Send for InterGroupDelay
impl Sync for InterGroupDelay
impl Unpin for InterGroupDelay
impl UnsafeUnpin for InterGroupDelay
impl UnwindSafe for InterGroupDelay
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