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