Union SOCKADDR_INET
#[repr(C)]
pub union SOCKADDR_INET {
pub Ipv4: SOCKADDR_IN,
pub Ipv6: SOCKADDR_IN6,
pub si_family: ADDRESS_FAMILY,
}
Fields§
§Ipv4: SOCKADDR_IN
§Ipv6: SOCKADDR_IN6
§si_family: ADDRESS_FAMILY
Trait Implementations§
§impl Clone for SOCKADDR_INET
impl Clone for SOCKADDR_INET
§fn clone(&self) -> SOCKADDR_INET
fn clone(&self) -> SOCKADDR_INET
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 moreimpl Copy for SOCKADDR_INET
Auto Trait Implementations§
impl Freeze for SOCKADDR_INET
impl RefUnwindSafe for SOCKADDR_INET
impl Send for SOCKADDR_INET
impl Sync for SOCKADDR_INET
impl Unpin for SOCKADDR_INET
impl UnwindSafe for SOCKADDR_INET
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