#[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_metricsTrait Implementations§
Source§impl Clone for rt_msghdr2
impl Clone for rt_msghdr2
impl Copy for rt_msghdr2
Source§impl Debug for rt_msghdr2
impl Debug for rt_msghdr2
Source§impl Default for rt_msghdr2
Available on macOS only.
impl Default for rt_msghdr2
Available on macOS only.
impl Eq for rt_msghdr2
Source§impl Hash for rt_msghdr2
impl Hash for rt_msghdr2
Source§impl PartialEq for rt_msghdr2
impl PartialEq for rt_msghdr2
impl StructuralPartialEq 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 UnsafeUnpin for rt_msghdr2
impl UnwindSafe for rt_msghdr2
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)