Struct libc::sockaddr_inarp
source · #[repr(C)]pub struct sockaddr_inarp {
pub sin_len: c_uchar,
pub sin_family: c_uchar,
pub sin_port: c_ushort,
pub sin_addr: in_addr,
pub sin_srcaddr: in_addr,
pub sin_tos: c_ushort,
pub sin_other: c_ushort,
}
Fields§
§sin_len: c_uchar
§sin_family: c_uchar
§sin_port: c_ushort
§sin_addr: in_addr
§sin_srcaddr: in_addr
§sin_tos: c_ushort
§sin_other: c_ushort
Trait Implementations§
source§impl Clone for sockaddr_inarp
impl Clone for sockaddr_inarp
source§fn clone(&self) -> sockaddr_inarp
fn clone(&self) -> sockaddr_inarp
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 sockaddr_inarp
impl Debug for sockaddr_inarp
source§impl Hash for sockaddr_inarp
impl Hash for sockaddr_inarp
source§impl PartialEq<sockaddr_inarp> for sockaddr_inarp
impl PartialEq<sockaddr_inarp> for sockaddr_inarp
source§fn eq(&self, other: &sockaddr_inarp) -> bool
fn eq(&self, other: &sockaddr_inarp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for sockaddr_inarp
impl Eq for sockaddr_inarp
impl StructuralEq for sockaddr_inarp
impl StructuralPartialEq for sockaddr_inarp
Auto Trait Implementations§
impl RefUnwindSafe for sockaddr_inarp
impl Send for sockaddr_inarp
impl Sync for sockaddr_inarp
impl Unpin for sockaddr_inarp
impl UnwindSafe for sockaddr_inarp
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