#[repr(C)]pub struct rt_msghdr2 {
pub rtm_msglen: u16,
pub rtm_version: u8,
pub rtm_type: u8,
pub rtm_index: u16,
pub rtm_flags: i32,
pub rtm_addrs: i32,
pub rtm_refcnt: i32,
pub rtm_parentflags: i32,
pub rtm_reserved: i32,
pub rtm_use: i32,
pub rtm_inits: u32,
pub rtm_rmx: rt_metrics,
}Fields§
§rtm_msglen: u16§rtm_version: u8§rtm_type: u8§rtm_index: u16§rtm_flags: i32§rtm_addrs: i32§rtm_refcnt: i32§rtm_parentflags: i32§rtm_reserved: i32§rtm_use: i32§rtm_inits: u32§rtm_rmx: rt_metricsTrait 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 duplicate 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 for rt_msghdr2
impl PartialEq for rt_msghdr2
impl Copy for rt_msghdr2
impl Eq 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 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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more