#[repr(C)]pub struct addr_info {
pub ai_flags: c_int,
pub ai_family: c_int,
pub ai_socktype: c_int,
pub ai_protocol: c_int,
pub ai_addrlen: c_uint,
pub ai_addr: sockaddr_storage,
}
Fields
ai_flags: c_int
ai_family: c_int
ai_socktype: c_int
ai_protocol: c_int
ai_addrlen: c_uint
ai_addr: sockaddr_storage
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for addr_info
impl Send for addr_info
impl Sync for addr_info
impl Unpin for addr_info
impl UnwindSafe for addr_info
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more