Struct libc::if_data

source ·
#[repr(C)]
pub struct if_data {
Show 22 fields pub ifi_type: c_uchar, pub ifi_addrlen: c_uchar, pub ifi_hdrlen: c_uchar, pub ifi_link_state: c_uchar, pub ifi_mtu: u32, pub ifi_metric: u32, pub ifi_rdomain: u32, pub ifi_baudrate: u64, pub ifi_ipackets: u64, pub ifi_ierrors: u64, pub ifi_opackets: u64, pub ifi_oerrors: u64, pub ifi_collisions: u64, pub ifi_ibytes: u64, pub ifi_obytes: u64, pub ifi_imcasts: u64, pub ifi_omcasts: u64, pub ifi_iqdrops: u64, pub ifi_oqdrops: u64, pub ifi_noproto: u64, pub ifi_capabilities: u32, pub ifi_lastchange: timeval,
}

Fields§

§ifi_type: c_uchar§ifi_addrlen: c_uchar§ifi_hdrlen: c_uchar§ifi_link_state: c_uchar§ifi_mtu: u32§ifi_metric: u32§ifi_rdomain: u32§ifi_baudrate: u64§ifi_ipackets: u64§ifi_ierrors: u64§ifi_opackets: u64§ifi_oerrors: u64§ifi_collisions: u64§ifi_ibytes: u64§ifi_obytes: u64§ifi_imcasts: u64§ifi_omcasts: u64§ifi_iqdrops: u64§ifi_oqdrops: u64§ifi_noproto: u64§ifi_capabilities: u32§ifi_lastchange: timeval

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given [Hasher]. Read more
Feeds a slice of this type into the given [Hasher]. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.