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_t
§sin_port: __be16
§sin_addr: in_addr
§__pad: [c_uchar; 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 copy 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 more