#[repr(C)]pub struct rt_metrics {
pub rmx_locks: u32,
pub rmx_mtu: u32,
pub rmx_hopcount: u32,
pub rmx_expire: i32,
pub rmx_recvpipe: u32,
pub rmx_sendpipe: u32,
pub rmx_ssthresh: u32,
pub rmx_rtt: u32,
pub rmx_rttvar: u32,
pub rmx_pksent: u32,
pub rmx_state: u32,
pub rmx_filler: [u32; 3],
}Fields§
§rmx_locks: u32§rmx_mtu: u32§rmx_hopcount: u32§rmx_expire: i32§rmx_recvpipe: u32§rmx_sendpipe: u32§rmx_ssthresh: u32§rmx_rtt: u32§rmx_rttvar: u32§rmx_pksent: u32§rmx_state: u32This field does not exist anymore, the u32 is now part of a resized
rmx_filler array.
rmx_filler: [u32; 3]Trait Implementations§
Source§impl Clone for rt_metrics
impl Clone for rt_metrics
Source§fn clone(&self) -> rt_metrics
fn clone(&self) -> rt_metrics
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_metrics
impl Debug for rt_metrics
Source§impl Hash for rt_metrics
impl Hash for rt_metrics
Source§impl PartialEq for rt_metrics
impl PartialEq for rt_metrics
impl Copy for rt_metrics
impl Eq for rt_metrics
impl StructuralPartialEq for rt_metrics
Auto Trait Implementations§
impl Freeze for rt_metrics
impl RefUnwindSafe for rt_metrics
impl Send for rt_metrics
impl Sync for rt_metrics
impl Unpin for rt_metrics
impl UnwindSafe for rt_metrics
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