pub fn loss_pct(&self) -> f64 {
        if self.total_sent > 0 {
            let lost = self.total_sent - self.total_recv;
            lost as f64 / self.total_sent as f64 * 100f64
        } else {
            0_f64
        }
    }
/// The % of packets that are lost.
The % of packets that are lost.
The % of packets that are lost .
pub fn loss_pct(&self) -> f64 {
        if self.total_sent > 0 {
            let lost = self.total_sent - self.total_recv;
            lost as f64 / self.total_sent as f64 * 100f64
        } else {
            0_f64
        }
    }
pub fn loss_pct ( & self ) -> f64 { if self . total_sent > 0 { let lost = self . total_sent - self . total_recv ; lost as f64 / self . total_sent as f64 * 100f64 } else { 0_f64 } }
The % of packets that are lost.
The % of packets that are lost .
&self