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

Type of this socket. 0 for none.

Values are defined by the libc on your system.

Protcol for this socket. 0 for none.

Values are defined by the libc on your system.

Address family for this socket. 0 for none.

Values are defined by the libc on your system.

[]

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]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for AddrInfoHints
[src]

[]

Formats the value using the given formatter.

impl PartialEq for AddrInfoHints
[src]

[]

This method tests for self and other values to be equal, and is used by ==. Read more

[]

This method tests for !=.

impl Default for AddrInfoHints
[src]

[]

Generate a blank AddrInfoHints struct, so new values can easily be specified.