Struct winapi::winsock2::hostent [] [src]

pub struct hostent {
    pub h_name: *mut c_char,
    pub h_aliases: *mut *mut c_char,
    pub h_addrtype: c_short,
    pub h_length: c_short,
    pub h_addr_list: *mut *mut c_char,
}

Fields

h_name: *mut c_char h_aliases: *mut *mut c_char h_addrtype: c_short h_length: c_short h_addr_list: *mut *mut c_char

Trait Implementations

impl Debug for hostent
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for hostent
[src]

impl Clone for hostent
[src]

fn clone(&self) -> hostent

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more