#[repr(C)]pub struct SOCKADDR_IN {
pub sin_family: ADDRESS_FAMILY,
pub sin_port: USHORT,
pub sin_addr: IN_ADDR,
pub sin_zero: [CHAR; 8],
}
Fields
sin_family: ADDRESS_FAMILY
sin_port: USHORT
sin_addr: IN_ADDR
sin_zero: [CHAR; 8]
Trait Implementations
sourceimpl Clone for SOCKADDR_IN
impl Clone for SOCKADDR_IN
sourcefn clone(&self) -> SOCKADDR_IN
fn clone(&self) -> SOCKADDR_IN
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 more
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