#[repr(C)]pub struct CHost {
pub 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,
}
Expand description
NSS C Host object https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_16.html#SEC318
Fields§
§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§
Auto Trait Implementations§
impl RefUnwindSafe for CHost
impl !Send for CHost
impl !Sync for CHost
impl Unpin for CHost
impl UnwindSafe for CHost
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