#[repr(C)]pub struct nrf_sockaddr_in {
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_family: nrf_sa_family_tSocket family.
sin_port: nrf_in_port_tPort, in network byte order.
sin_addr: nrf_in_addrIPv4 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 duplicate 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 Freeze for nrf_sockaddr_in
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