Struct libc::rt_msghdr2
source · #[repr(C)]pub struct rt_msghdr2 {
pub rtm_msglen: c_ushort,
pub rtm_version: c_uchar,
pub rtm_type: c_uchar,
pub rtm_index: c_ushort,
pub rtm_flags: c_int,
pub rtm_addrs: c_int,
pub rtm_refcnt: i32,
pub rtm_parentflags: c_int,
pub rtm_reserved: c_int,
pub rtm_use: c_int,
pub rtm_inits: u32,
pub rtm_rmx: rt_metrics,
}
Fields§
§rtm_msglen: c_ushort
§rtm_version: c_uchar
§rtm_type: c_uchar
§rtm_index: c_ushort
§rtm_flags: c_int
§rtm_addrs: c_int
§rtm_refcnt: i32
§rtm_parentflags: c_int
§rtm_reserved: c_int
§rtm_use: c_int
§rtm_inits: u32
§rtm_rmx: rt_metrics
Trait Implementations§
source§impl Clone for rt_msghdr2
impl Clone for rt_msghdr2
source§fn clone(&self) -> rt_msghdr2
fn clone(&self) -> rt_msghdr2
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 rt_msghdr2
impl Debug for rt_msghdr2
source§impl Hash for rt_msghdr2
impl Hash for rt_msghdr2
source§impl PartialEq<rt_msghdr2> for rt_msghdr2
impl PartialEq<rt_msghdr2> for rt_msghdr2
source§fn eq(&self, other: &rt_msghdr2) -> bool
fn eq(&self, other: &rt_msghdr2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for rt_msghdr2
impl Eq for rt_msghdr2
impl StructuralEq for rt_msghdr2
impl StructuralPartialEq for rt_msghdr2
Auto Trait Implementations§
impl RefUnwindSafe for rt_msghdr2
impl Send for rt_msghdr2
impl Sync for rt_msghdr2
impl Unpin for rt_msghdr2
impl UnwindSafe for rt_msghdr2
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