[][src]Struct libuv::net::addrinfo::AddrInfo

pub struct AddrInfo {
    pub flags: u32,
    pub family: u32,
    pub socktype: u32,
    pub protocol: u32,
    pub canonical_name: Option<String>,
    pub addr: Option<SocketAddr>,
}

Fields

flags: u32

Bitwise OR of uv::AI_* flags

family: u32

One of the uv::AF_* constants

socktype: u32

One of the uv::SOCK_* constants

protocol: u32

One of the uv::IPPROTO_* constants

canonical_name: Option<String>

The canonical name of the host

addr: Option<SocketAddr>

The address info, filled in by getaddrinfo()

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.