Struct libc_interface::servent [−][src]
#[repr(C)]pub struct servent { pub s_name: *mut c_char, pub s_aliases: *mut *mut c_char, pub s_port: c_int, pub s_proto: *mut c_char, }
Fields
s_name: *mut c_char
s_aliases: *mut *mut c_char
s_port: c_int
s_proto: *mut c_char
Trait Implementations
impl Copy for servent
[src]
impl Copy for servent
impl Clone for servent
[src]
impl Clone for servent
fn clone(&self) -> servent
[src]
fn clone(&self) -> servent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for servent
[src]
impl PartialEq for servent
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for servent
[src]
impl Eq for servent