Struct windows_sys::Win32::Networking::WinSock::SOCKADDR_IN
#[repr(C)]pub struct SOCKADDR_IN {
pub sin_family: ADDRESS_FAMILY,
pub sin_port: u16,
pub sin_addr: IN_ADDR,
pub sin_zero: [u8; 8],
}
Fields§
§sin_family: ADDRESS_FAMILY
§sin_port: u16
§sin_addr: IN_ADDR
§sin_zero: [u8; 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§
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