Struct arpreq
#[repr(C)]
pub struct arpreq { pub arp_pa: sockaddr, pub arp_ha: sockaddr, pub arp_flags: c_int, pub arp_netmask: sockaddr, pub arp_dev: [c_char; 16] }
Fields
arp_pa: sockaddrarp_ha: sockaddrarp_flags: c_intarp_netmask: sockaddrarp_dev: [c_char; 16]
Trait Implementations
impl Clone for arpreq
fn clone(&self) -> Self
impl Copy for arpreq
impl Debug for arpreq
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for arpreq
impl Hash for arpreq
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for arpreq
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for arpreq
Auto Trait Implementations
impl Freeze for arpreq
impl RefUnwindSafe for arpreq
impl Send for arpreq
impl Sync for arpreq
impl Unpin for arpreq
impl UnsafeUnpin for arpreq
impl UnwindSafe for arpreq
Blanket Implementations
impl<T> Any for arpreq
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for arpreq
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for arpreq
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for arpreq
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for arpreq
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for arpreq
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for arpreq
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for arpreq
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>