Union runng_sys::nng_sockaddr
source · #[repr(C)]
pub union nng_sockaddr {
pub s_family: u16,
pub s_ipc: nng_sockaddr_ipc,
pub s_inproc: nng_sockaddr_inproc,
pub s_in6: nng_sockaddr_in6,
pub s_in: nng_sockaddr_in,
pub s_zt: nng_sockaddr_zt,
/* private fields */
}
Fields
s_family: u16
s_ipc: nng_sockaddr_ipc
s_inproc: nng_sockaddr_inproc
s_in6: nng_sockaddr_in6
s_in: nng_sockaddr_in
s_zt: nng_sockaddr_zt
Trait Implementations
sourceimpl Clone for nng_sockaddr
impl Clone for nng_sockaddr
sourcefn clone(&self) -> nng_sockaddr
fn clone(&self) -> nng_sockaddr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for nng_sockaddr
Auto Trait Implementations
impl RefUnwindSafe for nng_sockaddr
impl Send for nng_sockaddr
impl Sync for nng_sockaddr
impl Unpin for nng_sockaddr
impl UnwindSafe for nng_sockaddr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more