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
sourceimpl Clone for sockaddr_inarp
impl Clone for sockaddr_inarp
sourcefn clone(&self) -> sockaddr_inarp
fn clone(&self) -> sockaddr_inarp
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_inarp
impl Debug for sockaddr_inarp
sourceimpl Hash for sockaddr_inarp
impl Hash for sockaddr_inarp
sourceimpl PartialEq<sockaddr_inarp> for sockaddr_inarp
impl PartialEq<sockaddr_inarp> for sockaddr_inarp
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &sockaddr_inarp) -> bool
fn ne(&self, other: &sockaddr_inarp) -> bool
This method tests for !=
.
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
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