pub struct PathStats {
pub rtt_ms: f64,
pub min_rtt_ms: f64,
pub cwnd: u64,
pub delivery_kbps: u64,
pub lost_packets: u64,
pub current_mtu: u16,
}Fields§
§rtt_ms: f64§min_rtt_ms: f64Lowest RTT observed by this session’s sampling of rtt.
cwnd: u64§delivery_kbps: u64UDP bytes transmitted per second over the last stats() interval.
lost_packets: u64§current_mtu: u16Trait Implementations§
impl Copy for PathStats
impl StructuralPartialEq for PathStats
Auto Trait Implementations§
impl Freeze for PathStats
impl RefUnwindSafe for PathStats
impl Send for PathStats
impl Sync for PathStats
impl Unpin for PathStats
impl UnsafeUnpin for PathStats
impl UnwindSafe for PathStats
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