#[repr(C)]pub struct servent {
pub s_name: *mut i8,
pub s_aliases: *mut *mut i8,
pub s_port: i32,
pub s_proto: *mut i8,
}
Fields§
§s_name: *mut i8
§s_aliases: *mut *mut i8
§s_port: i32
§s_proto: *mut i8
Trait Implementations§
source§impl PartialEq<servent> for servent
impl PartialEq<servent> for servent
impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.