Struct nrfxlib_sys::nrf_sockaddr_in[][src]

#[repr(C)]pub struct nrf_sockaddr_in {
    pub sin_len: u8,
    pub sin_family: nrf_sa_family_t,
    pub sin_port: nrf_in_port_t,
    pub sin_addr: nrf_in_addr,
}

Address record for IPv4 addresses.

s Contains the address and port of the host. All fields in this structure are compatible with the POSIX variant for API compatibility.

Fields

sin_len: u8

< Length of this data structure.

sin_family: nrf_sa_family_t

< Socket family.

sin_port: nrf_in_port_t

< Port, in network byte order.

sin_addr: nrf_in_addr

< IPv4 address.

Trait Implementations

impl Clone for nrf_sockaddr_in[src]

impl Copy for nrf_sockaddr_in[src]

impl Debug for nrf_sockaddr_in[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.