#[repr(C)]pub struct rt_msghdr {
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_pid: i32,
pub rtm_seq: i32,
pub rtm_errno: 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_pid: i32§rtm_seq: i32§rtm_errno: i32§rtm_use: i32§rtm_inits: u32§rtm_rmx: rt_metricsTrait Implementations§
impl Copy for rt_msghdr
impl Eq for rt_msghdr
impl StructuralPartialEq for rt_msghdr
Auto Trait Implementations§
impl Freeze for rt_msghdr
impl RefUnwindSafe for rt_msghdr
impl Send for rt_msghdr
impl Sync for rt_msghdr
impl Unpin for rt_msghdr
impl UnwindSafe for rt_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
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