Struct nrfxlib_sys::nrf_sockaddr_in6
source · #[repr(C)]pub struct nrf_sockaddr_in6 {
pub sin6_len: u8,
pub sin6_family: nrf_sa_family_t,
pub sin6_port: nrf_in_port_t,
pub sin6_flowinfo: u32,
pub sin6_addr: nrf_in6_addr,
pub sin6_scope_id: u32,
}
Expand description
Address record for IPv6 addresses.
Contains the address and port of the host.
Fields§
§sin6_len: u8
Length of this data structure.
sin6_family: nrf_sa_family_t
Socket family.
sin6_port: nrf_in_port_t
Port, in network byte order.
sin6_flowinfo: u32
IPv6 flow info parameters. Not used.
sin6_addr: nrf_in6_addr
IPv6 address.
sin6_scope_id: u32
IPv6 scope ID. Not used.
Trait Implementations§
source§impl Clone for nrf_sockaddr_in6
impl Clone for nrf_sockaddr_in6
source§fn clone(&self) -> nrf_sockaddr_in6
fn clone(&self) -> nrf_sockaddr_in6
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_in6
impl Debug for nrf_sockaddr_in6
impl Copy for nrf_sockaddr_in6
Auto Trait Implementations§
impl RefUnwindSafe for nrf_sockaddr_in6
impl Send for nrf_sockaddr_in6
impl Sync for nrf_sockaddr_in6
impl Unpin for nrf_sockaddr_in6
impl UnwindSafe for nrf_sockaddr_in6
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