[][src]Struct nc::types::sockaddr_in_t

#[repr(C)]
pub struct sockaddr_in_t {
    pub sin_family: sa_family_t,
    pub sin_port: be16_t,
    pub sin_addr: in_addr_t,
    pub pad: [u8; 8],
}

Fields

sin_family: sa_family_t

Address family

sin_port: be16_t

Port number

sin_addr: in_addr_t

Internet address

pad: [u8; 8]

Pad to size of `struct sockaddr'.

Trait Implementations

impl Default for sockaddr_in_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for 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> 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]