#[repr(C)]
pub struct sigar_net_interface_config_t {
Show 15 fields pub name: [c_char; 256], pub type_: [c_char; 64], pub description: [c_char; 256], pub hwaddr: sigar_net_address_t, pub address: sigar_net_address_t, pub destination: sigar_net_address_t, pub broadcast: sigar_net_address_t, pub netmask: sigar_net_address_t, pub address6: sigar_net_address_t, pub prefix6_length: c_int, pub scope6: c_int, pub flags: sigar_uint64_t, pub mtu: sigar_uint64_t, pub metric: sigar_uint64_t, pub tx_queue_len: c_int,
}

Fields§

§name: [c_char; 256]§type_: [c_char; 64]§description: [c_char; 256]§hwaddr: sigar_net_address_t§address: sigar_net_address_t§destination: sigar_net_address_t§broadcast: sigar_net_address_t§netmask: sigar_net_address_t§address6: sigar_net_address_t§prefix6_length: c_int§scope6: c_int§flags: sigar_uint64_t§mtu: sigar_uint64_t§metric: sigar_uint64_t§tx_queue_len: c_int

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. 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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.