pub struct EchoReply {
pub ttl: Option<u8>,
pub source: IpAddr,
pub sequence: u16,
pub identifier: u16,
pub size: usize,
}Expand description
EchoReply struct, which contains some packet information.
Fields§
§ttl: Option<u8>IP Time To Live for outgoing packets. Present for ICMPv4 replies, absent for ICMPv6 replies.
source: IpAddrSource address of ICMP packet.
sequence: u16Sequence of ICMP packet.
identifier: u16Identifier of ICMP packet.
size: usizeSize of ICMP packet.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EchoReply
impl RefUnwindSafe for EchoReply
impl Send for EchoReply
impl Sync for EchoReply
impl Unpin for EchoReply
impl UnwindSafe for EchoReply
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