Struct linux_api::inet::linux_sockaddr_in
source · #[repr(C)]pub struct linux_sockaddr_in {
pub sin_family: c_ushort,
pub sin_port: c_ushort,
pub sin_addr: linux_in_addr,
pub l__pad: [c_uchar; 8],
}
Fields§
§sin_family: c_ushort
§sin_port: c_ushort
§sin_addr: linux_in_addr
§l__pad: [c_uchar; 8]
Trait Implementations§
source§impl Clone for linux_sockaddr_in
impl Clone for linux_sockaddr_in
source§fn clone(&self) -> linux_sockaddr_in
fn clone(&self) -> linux_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 moresource§impl Debug for linux_sockaddr_in
impl Debug for linux_sockaddr_in
source§impl PartialEq for linux_sockaddr_in
impl PartialEq for linux_sockaddr_in
impl Copy for linux_sockaddr_in
impl Eq for linux_sockaddr_in
impl StructuralPartialEq for linux_sockaddr_in
Auto Trait Implementations§
impl Freeze for linux_sockaddr_in
impl RefUnwindSafe for linux_sockaddr_in
impl Send for linux_sockaddr_in
impl Sync for linux_sockaddr_in
impl Unpin for linux_sockaddr_in
impl UnwindSafe for linux_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)