pub struct Ipv4PacketInfo;
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 for Ipv4PacketInfo
impl PartialEq for Ipv4PacketInfo
source§impl SetSockOpt for Ipv4PacketInfo
impl SetSockOpt for Ipv4PacketInfo
impl Copy for Ipv4PacketInfo
impl Eq for Ipv4PacketInfo
impl StructuralPartialEq for Ipv4PacketInfo
Auto Trait Implementations§
impl Freeze for Ipv4PacketInfo
impl RefUnwindSafe for Ipv4PacketInfo
impl Send for Ipv4PacketInfo
impl Sync for Ipv4PacketInfo
impl Unpin for Ipv4PacketInfo
impl UnwindSafe for Ipv4PacketInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)