Struct linux_raw_sys::general::sockaddr_in  
source · [−]#[repr(C)]pub struct sockaddr_in {
    pub sin_family: __kernel_sa_family_t,
    pub sin_port: __be16,
    pub sin_addr: in_addr,
    pub __pad: [c_uchar; 8],
}Fields
sin_family: __kernel_sa_family_tsin_port: __be16sin_addr: in_addr__pad: [c_uchar; 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
sourceimpl Debug for sockaddr_in
 
impl Debug 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