Struct winapi::winsock2::servent [] [src]

pub struct servent {
    pub s_name: *mut c_char,
    pub s_aliases: *mut *mut c_char,
    pub s_port: c_short,
    pub s_proto: *mut c_char,
}

Fields

s_name: *mut c_char s_aliases: *mut *mut c_char s_port: c_short s_proto: *mut c_char

Trait Implementations

impl Debug for servent
[src]

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

Formats the value using the given formatter.

impl Copy for servent
[src]

impl Clone for servent
[src]

fn clone(&self) -> servent

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