Struct dns_lookup::AddrInfoHints
[−]
[src]
pub struct AddrInfoHints { pub socktype: i32, pub protocol: i32, pub address: i32, pub flags: i32, }
A struct used as the hints argument to getaddrinfo.
Fields
socktype: i32
Type of this socket. 0 for none.
Values are defined by the libc on your system.
protocol: i32
Protcol for this socket. 0 for none.
Values are defined by the libc on your system.
address: i32
Address family for this socket. 0 for none.
Values are defined by the libc on your system.
flags: i32
Optional bitmask arguments. Bitwise OR bitflags to change the behaviour of getaddrinfo. 0 for none.
Values are defined by the libc on your system.
Trait Implementations
impl Copy for AddrInfoHints
[src]
impl Clone for AddrInfoHints
[src]
fn clone(&self) -> AddrInfoHints
[−]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[−]
Performs copy-assignment from source
. Read more
impl Debug for AddrInfoHints
[src]
impl PartialEq for AddrInfoHints
[src]
fn eq(&self, __arg_0: &AddrInfoHints) -> bool
[−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AddrInfoHints) -> bool
[−]
This method tests for !=
.