#[repr(C)]
pub struct ADDRINFOA { pub ai_flags: i32, pub ai_family: i32, pub ai_socktype: i32, pub ai_protocol: i32, pub ai_addrlen: usize, pub ai_canonname: PSTR, pub ai_addr: *mut SOCKADDR, pub ai_next: *mut ADDRINFOA, }
Expand description

Required features: "Win32_Networking_WinSock", "Win32_Foundation"

Fields§

§ai_flags: i32§ai_family: i32§ai_socktype: i32§ai_protocol: i32§ai_addrlen: usize§ai_canonname: PSTR§ai_addr: *mut SOCKADDR§ai_next: *mut ADDRINFOA

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.