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 moreimpl Copy for rt_msghdr2
Auto Trait Implementations§
impl Freeze for rt_msghdr2
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
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
)