#[repr(C)]pub struct hostent {
pub h_name: *mut c_char,
pub h_aliases: *mut *mut c_char,
pub h_addrtype: c_int,
pub h_length: c_int,
pub h_addr_list: *mut *mut c_char,
}
Fields§
§h_name: *mut c_char
§h_aliases: *mut *mut c_char
§h_addrtype: c_int
§h_length: c_int
§h_addr_list: *mut *mut c_char
Trait Implementations§
source§impl PartialEq for hostent
impl PartialEq for hostent
impl Copy for hostent
impl Eq for hostent
impl StructuralPartialEq for hostent
Auto Trait Implementations§
impl Freeze for hostent
impl RefUnwindSafe for hostent
impl !Send for hostent
impl !Sync for hostent
impl Unpin for hostent
impl UnwindSafe for hostent
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
)