Struct libc::in6_pktinfo
source · #[repr(C)]pub struct in6_pktinfo {
pub ipi6_addr: in6_addr,
pub ipi6_ifindex: c_uint,
}
Fields§
§ipi6_addr: in6_addr
§ipi6_ifindex: c_uint
Trait Implementations§
source§impl Clone for in6_pktinfo
impl Clone for in6_pktinfo
source§fn clone(&self) -> in6_pktinfo
fn clone(&self) -> in6_pktinfo
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 in6_pktinfo
impl Debug for in6_pktinfo
source§impl Hash for in6_pktinfo
impl Hash for in6_pktinfo
source§impl PartialEq<in6_pktinfo> for in6_pktinfo
impl PartialEq<in6_pktinfo> for in6_pktinfo
source§fn eq(&self, other: &in6_pktinfo) -> bool
fn eq(&self, other: &in6_pktinfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for in6_pktinfo
impl Eq for in6_pktinfo
impl StructuralEq for in6_pktinfo
impl StructuralPartialEq for in6_pktinfo
Auto Trait Implementations§
impl RefUnwindSafe for in6_pktinfo
impl Send for in6_pktinfo
impl Sync for in6_pktinfo
impl Unpin for in6_pktinfo
impl UnwindSafe for in6_pktinfo
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