Struct ethhdr

#[repr(C, packed(1))]
pub struct ethhdr { pub h_dest: [c_uchar; 6], pub h_source: [c_uchar; 6], pub h_proto: __be16 }

Fields

h_dest: [c_uchar; 6]
h_source: [c_uchar; 6]
h_proto: __be16

Trait Implementations

impl Clone for ethhdr

fn clone(&self) -> Self

impl Copy for ethhdr

impl Debug for ethhdr

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl Freeze for ethhdr

impl RefUnwindSafe for ethhdr

impl Send for ethhdr

impl Sync for ethhdr

impl Unpin for ethhdr

impl UnsafeUnpin for ethhdr

impl UnwindSafe for ethhdr

Blanket Implementations

impl<T> Any for ethhdr where T: 'static + ?Sized,

impl<T> Borrow<T> for ethhdr where T: ?Sized,

impl<T> BorrowMut<T> for ethhdr where T: ?Sized,

impl<T> CloneToUninit for ethhdr where T: Clone,

impl<T> From<T> for ethhdr

impl<T, U> Into<U> for ethhdr where U: From<T>,

impl<T, U> TryFrom<U> for ethhdr where U: Into<T>,

impl<T, U> TryInto<U> for ethhdr where U: TryFrom<T>,