Struct windows_sys::Win32::Networking::WinSock::hostent
[−]#[repr(C)]pub struct hostent {
pub h_name: PSTR,
pub h_aliases: *mut *mut i8,
pub h_addrtype: i16,
pub h_length: i16,
pub h_addr_list: *mut *mut i8,
}
Expand description
Required features: ‘Win32_Networking_WinSock’
Fields
h_name: PSTR
h_aliases: *mut *mut i8
h_addrtype: i16
h_length: i16
h_addr_list: *mut *mut i8
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for hostent
impl !Send for hostent
impl !Sync for hostent
impl Unpin for hostent
impl UnwindSafe for hostent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more