pub struct NetBenchTelemetry {
pub path: PathKind,
pub lost_packets: u64,
pub lost_bytes: u64,
pub congestion_events: u64,
pub rx_datagrams: u64,
pub tx_datagrams: u64,
pub current_mtu: u16,
pub black_holes_detected: u64,
pub rtt: Duration,
}Expand description
One transport telemetry snapshot supplied by the host session.
Fields§
§path: PathKindCurrently selected transport path.
lost_packets: u64QUIC packets declared lost.
lost_bytes: u64QUIC bytes declared lost.
congestion_events: u64Congestion events on the selected path.
rx_datagrams: u64Received transport datagrams.
tx_datagrams: u64Transmitted transport datagrams.
current_mtu: u16Current path MTU, or zero when unavailable.
black_holes_detected: u64Path black-hole detections.
rtt: DurationCurrent smoothed transport RTT.
Trait Implementations§
Source§impl Clone for NetBenchTelemetry
impl Clone for NetBenchTelemetry
Source§fn clone(&self) -> NetBenchTelemetry
fn clone(&self) -> NetBenchTelemetry
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 NetBenchTelemetry
Source§impl Debug for NetBenchTelemetry
impl Debug for NetBenchTelemetry
Source§impl Default for NetBenchTelemetry
impl Default for NetBenchTelemetry
impl Eq for NetBenchTelemetry
Source§impl PartialEq for NetBenchTelemetry
impl PartialEq for NetBenchTelemetry
impl StructuralPartialEq for NetBenchTelemetry
Auto Trait Implementations§
impl Freeze for NetBenchTelemetry
impl RefUnwindSafe for NetBenchTelemetry
impl Send for NetBenchTelemetry
impl Sync for NetBenchTelemetry
impl Unpin for NetBenchTelemetry
impl UnsafeUnpin for NetBenchTelemetry
impl UnwindSafe for NetBenchTelemetry
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