pub struct PingReply {
pub sequence: u16,
pub rtt: Duration,
pub bytes_received: usize,
pub from: Ipv4Addr,
pub ttl: Option<u8>,
}Expand description
Result of a single ping operation
Fields§
§sequence: u16Sequence number of the ping
rtt: DurationRound-trip time
bytes_received: usizeSize of the response in bytes
from: Ipv4AddrSource address of the response
ttl: Option<u8>Time-to-live of the response packet
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