Struct winapi::winsock2::protoent [] [src]

pub struct protoent {
    pub p_name: *mut c_char,
    pub p_aliases: *mut *mut c_char,
    pub p_proto: c_short,
}

Fields

p_name: *mut c_char p_aliases: *mut *mut c_char p_proto: c_short

Trait Implementations

impl Debug for protoent
[src]

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

Formats the value using the given formatter.

impl Copy for protoent
[src]

impl Clone for protoent
[src]

fn clone(&self) -> protoent

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