Struct rushmap_core::result::PingStat
source · pub struct PingStat {
pub responses: Vec<PingResponse>,
pub probe_time: u64,
pub transmitted_count: usize,
pub received_count: usize,
pub min: u64,
pub avg: u64,
pub max: u64,
}Fields§
§responses: Vec<PingResponse>Ping responses
probe_time: u64The entire ping probe time (microsecond)
transmitted_count: usizeTransmitted packets
received_count: usizeReceived packets
min: u64Minimum RTT (microsecond)
avg: u64Avarage RTT (microsecond)
max: u64Maximum RTT (microsecond)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PingStat
impl<'de> Deserialize<'de> for PingStat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PingStat
impl Send for PingStat
impl Sync for PingStat
impl Unpin for PingStat
impl UnwindSafe for PingStat
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