[][src]Struct libc::addrinfo

#[repr(C)]pub struct addrinfo {
    pub ai_flags: c_int,
    pub ai_family: c_int,
    pub ai_socktype: c_int,
    pub ai_protocol: c_int,
    pub ai_addrlen: socklen_t,
    pub ai_addr: *mut sockaddr,
    pub ai_canonname: *mut c_char,
    pub ai_next: *mut addrinfo,
}

Fields

ai_flags: c_intai_family: c_intai_socktype: c_intai_protocol: c_intai_addrlen: socklen_tai_addr: *mut sockaddrai_canonname: *mut c_charai_next: *mut addrinfo

Trait Implementations

impl Clone for addrinfo[src]

impl Copy for addrinfo[src]

Auto Trait Implementations

impl !Send for addrinfo[src]

impl !Sync for addrinfo[src]

impl Unpin for addrinfo[src]

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.