Struct windows_sys::Win32::Networking::WinSock::SOCKADDR_IN
[−]#[repr(C)]pub struct SOCKADDR_IN {
pub sin_family: u16,
pub sin_port: u16,
pub sin_addr: IN_ADDR,
pub sin_zero: [CHAR; 8],
}
Expand description
Required features: "Win32_Networking_WinSock"
, "Win32_Foundation"
Fields
sin_family: u16
sin_port: u16
sin_addr: IN_ADDR
sin_zero: [CHAR; 8]
Trait Implementations
impl Clone for SOCKADDR_IN
impl Clone for SOCKADDR_IN
impl Copy for SOCKADDR_IN
Auto Trait Implementations
impl RefUnwindSafe for SOCKADDR_IN
impl Send for SOCKADDR_IN
impl Sync for SOCKADDR_IN
impl Unpin for SOCKADDR_IN
impl UnwindSafe for SOCKADDR_IN
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