pub enum IcmpPacket {
V4(Icmpv4Packet),
V6(Icmpv6Packet),
}Expand description
Represents the ICMP reply packet.
Variants§
Implementations§
Source§impl IcmpPacket
impl IcmpPacket
pub fn get_identifier(&self) -> PingIdentifier
pub fn get_sequence(&self) -> PingSequence
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IcmpPacket
impl RefUnwindSafe for IcmpPacket
impl Send for IcmpPacket
impl Sync for IcmpPacket
impl Unpin for IcmpPacket
impl UnwindSafe for IcmpPacket
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