Struct nrfxlib_sys::nrf_addrinfo[][src]

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

Address information.

Fields

ai_flags: c_int

< Input flags.

ai_family: c_int

< Address family of the socket.

ai_socktype: c_int

< Socket type.

ai_protocol: c_int

< Protocol of the socket.

ai_addrlen: nrf_socklen_t

< Length of the socket address.

ai_addr: *mut nrf_sockaddr

< Address of the socket.

ai_canonname: *mut c_char

< Canonical name of service location.

ai_next: *mut nrf_addrinfo

< Pointer to next in list.

Trait Implementations

impl Clone for nrf_addrinfo[src]

impl Copy for nrf_addrinfo[src]

impl Debug for nrf_addrinfo[src]

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.