#[repr(C)]pub struct arphdr {
pub ar_hrd: u16,
pub ar_pro: u16,
pub ar_hln: u8,
pub ar_pln: u8,
pub ar_op: u16,
}
Fields
ar_hrd: u16
ar_pro: u16
ar_hln: u8
ar_pln: u8
ar_op: u16
Trait Implementations
sourceimpl Hash for arphdr
impl Hash for arphdr
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for arphdr
impl Eq for arphdr
Auto Trait Implementations
impl RefUnwindSafe for arphdr
impl Send for arphdr
impl Sync for arphdr
impl Unpin for arphdr
impl UnwindSafe for arphdr
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more