pub struct Ipv4PacketInfo;
Available on crate features
socket
and net
only.Expand description
Pass an IP_PKTINFO
ancillary message that contains a pktinfo
structure that supplies some information about the incoming packet.
Trait Implementations§
source§impl Clone for Ipv4PacketInfo
impl Clone for Ipv4PacketInfo
source§fn clone(&self) -> Ipv4PacketInfo
fn clone(&self) -> Ipv4PacketInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Ipv4PacketInfo
impl Debug for Ipv4PacketInfo
source§impl GetSockOpt for Ipv4PacketInfo
impl GetSockOpt for Ipv4PacketInfo
source§impl Hash for Ipv4PacketInfo
impl Hash for Ipv4PacketInfo
source§impl PartialEq<Ipv4PacketInfo> for Ipv4PacketInfo
impl PartialEq<Ipv4PacketInfo> for Ipv4PacketInfo
source§fn eq(&self, other: &Ipv4PacketInfo) -> bool
fn eq(&self, other: &Ipv4PacketInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.