#[repr(C)]pub struct hostent {
pub h_name: *mut i8,
pub h_aliases: *mut *mut i8,
pub h_addrtype: i32,
pub h_length: i32,
pub h_addr_list: *mut *mut i8,
}Fields§
§h_name: *mut i8§h_aliases: *mut *mut i8§h_addrtype: i32§h_length: i32§h_addr_list: *mut *mut i8Trait Implementations§
Source§impl Ord for hostent
impl Ord for hostent
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for hostent
impl PartialOrd 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 UnsafeUnpin 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