#[repr(C)]pub(crate) struct sockaddr_in {
    pub sin_family: u16,
    pub sin_port: u16,
    pub sin_addr: in_addr,
    pub __pad: [u8; 8],
}Fields§
§sin_family: u16§sin_port: u16§sin_addr: in_addr§__pad: [u8; 8]Trait Implementations§
Source§impl Clone for sockaddr_in
 
impl Clone for sockaddr_in
Source§fn clone(&self) -> sockaddr_in
 
fn clone(&self) -> sockaddr_in
Returns a duplicate 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 moreSource§impl Debug for sockaddr_in
 
impl Debug for sockaddr_in
impl Copy for sockaddr_in
Auto Trait Implementations§
impl Freeze for sockaddr_in
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