[][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_canonname: *mut c_char,
    pub ai_addr: *mut sockaddr,
    pub ai_next: *mut addrinfo,
}

Fields

ai_flags: c_intai_family: c_intai_socktype: c_intai_protocol: c_intai_addrlen: socklen_tai_canonname: *mut c_charai_addr: *mut sockaddrai_next: *mut addrinfo

Trait Implementations

impl Debug for addrinfo[src]

impl PartialEq<addrinfo> for addrinfo[src]

impl Eq for addrinfo[src]

impl Hash for addrinfo[src]

impl Copy for addrinfo[src]

impl StructuralPartialEq for addrinfo[src]

impl StructuralEq for addrinfo[src]

impl Clone for addrinfo[src]

Auto Trait Implementations

impl Unpin for addrinfo

impl !Send for addrinfo

impl !Sync for addrinfo

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

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

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.

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

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

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