pub struct PingSummary {
pub host: String,
pub ip: IpAddr,
pub sent: u32,
pub received: u32,
pub loss_pct: f64,
pub rtt_ms_min: Option<u64>,
pub rtt_ms_max: Option<u64>,
pub rtt_ms_avg: Option<f64>,
}Fields§
§host: String§ip: IpAddr§sent: u32§received: u32§loss_pct: f64§rtt_ms_min: Option<u64>§rtt_ms_max: Option<u64>§rtt_ms_avg: Option<f64>Trait Implementations§
Source§impl Clone for PingSummary
impl Clone for PingSummary
Source§impl Debug for PingSummary
impl Debug for PingSummary
Auto Trait Implementations§
impl Freeze for PingSummary
impl RefUnwindSafe for PingSummary
impl Send for PingSummary
impl Sync for PingSummary
impl Unpin for PingSummary
impl UnsafeUnpin for PingSummary
impl UnwindSafe for PingSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more