Struct sigar_sys::sigar_net_info_t
source · #[repr(C)]pub struct sigar_net_info_t {
pub default_gateway: [c_char; 46],
pub default_gateway_interface: [c_char; 256],
pub host_name: [c_char; 256],
pub domain_name: [c_char; 256],
pub primary_dns: [c_char; 46],
pub secondary_dns: [c_char; 46],
}
Fields§
§default_gateway: [c_char; 46]
§default_gateway_interface: [c_char; 256]
§host_name: [c_char; 256]
§domain_name: [c_char; 256]
§primary_dns: [c_char; 46]
§secondary_dns: [c_char; 46]
Trait Implementations§
source§impl Clone for sigar_net_info_t
impl Clone for sigar_net_info_t
source§fn clone(&self) -> sigar_net_info_t
fn clone(&self) -> sigar_net_info_t
Returns a copy 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 more