#[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
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.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 moreimpl Copy for arphdr
impl Eq for arphdr
impl StructuralEq for arphdr
impl StructuralPartialEq 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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