#[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§
source§impl PartialEq for servent
impl PartialEq for servent
impl Copy for servent
impl Eq for servent
impl StructuralPartialEq for servent
Auto Trait Implementations§
impl Freeze for servent
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> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)