pub struct PingReply {
pub address: IpAddr,
pub rtt: u32,
}
Expand description
Ping reply contains the destination address (from ICMP reply) and Round-Trip Time
Fields§
§address: IpAddr
Destination address from ICMP reply
rtt: u32
Round-Trip Time in milliseconds
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PingReply
impl RefUnwindSafe for PingReply
impl Send for PingReply
impl Sync for PingReply
impl Unpin for PingReply
impl UnwindSafe for PingReply
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