Struct arphdr
#[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: u16ar_pro: u16ar_hln: u8ar_pln: u8ar_op: u16
Trait Implementations
impl Clone for arphdr
fn clone(&self) -> Self
impl Copy for arphdr
impl Debug for arphdr
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for arphdr
impl Hash for arphdr
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for arphdr
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for arphdr
Auto Trait Implementations
impl Freeze for arphdr
impl RefUnwindSafe for arphdr
impl Send for arphdr
impl Sync for arphdr
impl Unpin for arphdr
impl UnsafeUnpin for arphdr
impl UnwindSafe for arphdr
Blanket Implementations
impl<T> Any for arphdr
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for arphdr
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for arphdr
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for arphdr
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for arphdr
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for arphdr
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 arphdr
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for arphdr
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>