#[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§
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes