Struct libc::hostent
#[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
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
Trait Implementations
impl Debug for hostent
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for hostent
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl StructuralEq for hostent
impl StructuralPartialEq for hostent
Auto Trait Implementations
impl RefUnwindSafe for hostent
impl UnwindSafe for hostent
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T