#[repr(C)]pub struct everything_plugin_os_winsock_addrinfo {
pub ai_flags: c_int,
pub ai_family: c_int,
pub ai_socktype: c_int,
pub ai_protocol: c_int,
pub ai_addrlen: usize,
pub ai_canonname: *mut c_char,
pub ai_addr: *mut everything_plugin_os_winsock_sockaddr,
pub ai_next: *mut everything_plugin_os_winsock_addrinfo,
}
Fields§
§ai_flags: c_int
§ai_family: c_int
EVERYTHING_PLUGIN_OS_WINSOCK_AI_PASSIVE, AI_CANONNAME, OS_WINSOCK_AI_NUMERICHOST
ai_socktype: c_int
PF_xxx
ai_protocol: c_int
SOCK_xxx
ai_addrlen: usize
0 or IPPROTO_xxx for IPv4 and IPv6
ai_canonname: *mut c_char
Length of ai_addr
ai_addr: *mut everything_plugin_os_winsock_sockaddr
Canonical name for nodename
ai_next: *mut everything_plugin_os_winsock_addrinfo
Binary address
Trait Implementations§
Source§impl Clone for everything_plugin_os_winsock_addrinfo
impl Clone for everything_plugin_os_winsock_addrinfo
Source§fn clone(&self) -> everything_plugin_os_winsock_addrinfo
fn clone(&self) -> everything_plugin_os_winsock_addrinfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for everything_plugin_os_winsock_addrinfo
Auto Trait Implementations§
impl Freeze for everything_plugin_os_winsock_addrinfo
impl RefUnwindSafe for everything_plugin_os_winsock_addrinfo
impl !Send for everything_plugin_os_winsock_addrinfo
impl !Sync for everything_plugin_os_winsock_addrinfo
impl Unpin for everything_plugin_os_winsock_addrinfo
impl UnwindSafe for everything_plugin_os_winsock_addrinfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more