#[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
sourceimpl Hash for servent
impl Hash for servent
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moreimpl Copy for servent
impl Eq for servent
impl StructuralEq for servent
impl StructuralPartialEq for servent
Auto Trait Implementations
impl RefUnwindSafe for servent
impl !Send for servent
impl !Sync for servent
impl Unpin for servent
impl UnwindSafe for servent
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more