Struct nrfxlib_sys::nrf_sockaddr_in
source · #[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,
}
Expand description
Address record for IPv4 addresses.
Contains the address and port of the host.
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§
source§impl Clone for nrf_sockaddr_in
impl Clone for nrf_sockaddr_in
source§fn clone(&self) -> nrf_sockaddr_in
fn clone(&self) -> nrf_sockaddr_in
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for nrf_sockaddr_in
impl Debug for nrf_sockaddr_in
impl Copy for nrf_sockaddr_in
Auto Trait Implementations§
impl RefUnwindSafe for nrf_sockaddr_in
impl Send for nrf_sockaddr_in
impl Sync for nrf_sockaddr_in
impl Unpin for nrf_sockaddr_in
impl UnwindSafe for nrf_sockaddr_in
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more