Struct nrfxlib_sys::nrf_addrinfo
source · #[repr(C)]pub struct nrf_addrinfo {
pub ai_flags: c_int,
pub ai_family: c_int,
pub ai_socktype: c_int,
pub ai_protocol: c_int,
pub ai_addrlen: nrf_socklen_t,
pub ai_addr: *mut nrf_sockaddr,
pub ai_canonname: *mut c_char,
pub ai_next: *mut nrf_addrinfo,
}
Expand description
Address information.
Fields§
§ai_flags: c_int
Input flags.
ai_family: c_int
Address family of the socket.
ai_socktype: c_int
Socket type.
ai_protocol: c_int
Protocol of the socket.
ai_addrlen: nrf_socklen_t
Length of the socket address.
ai_addr: *mut nrf_sockaddr
Address of the socket.
ai_canonname: *mut c_char
Canonical name of service location.
ai_next: *mut nrf_addrinfo
Pointer to next in list.
Trait Implementations§
source§impl Clone for nrf_addrinfo
impl Clone for nrf_addrinfo
source§fn clone(&self) -> nrf_addrinfo
fn clone(&self) -> nrf_addrinfo
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_addrinfo
impl Debug for nrf_addrinfo
impl Copy for nrf_addrinfo
Auto Trait Implementations§
impl RefUnwindSafe for nrf_addrinfo
impl !Send for nrf_addrinfo
impl !Sync for nrf_addrinfo
impl Unpin for nrf_addrinfo
impl UnwindSafe for nrf_addrinfo
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