pub struct LatencySummary {
pub min_rtt: Duration,
pub max_rtt: Duration,
pub avg_rtt: Duration,
pub sample_count: u64,
}Expand description
Latency summary
Fields§
§min_rtt: DurationMinimum observed RTT
max_rtt: DurationMaximum observed RTT
avg_rtt: DurationAverage RTT
sample_count: u64Number of samples aggregated
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LatencySummary
impl RefUnwindSafe for LatencySummary
impl Send for LatencySummary
impl Sync for LatencySummary
impl Unpin for LatencySummary
impl UnwindSafe for LatencySummary
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