Union windows_sys::Win32::Networking::WinSock::SOCKADDR_INET
[−]#[repr(C)]
pub union SOCKADDR_INET {
pub Ipv4: SOCKADDR_IN,
pub Ipv6: SOCKADDR_IN6,
pub si_family: u16,
}
Expand description
Required features: "Win32_Networking_WinSock"
, "Win32_Foundation"
Fields
Ipv4: SOCKADDR_IN
Ipv6: SOCKADDR_IN6
si_family: u16
Trait Implementations
impl Clone for SOCKADDR_INET
impl Clone for SOCKADDR_INET
impl Copy for SOCKADDR_INET
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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