#[repr(C)]pub struct ethhdr {
pub h_dest: [uint8_t; 6],
pub h_source: [uint8_t; 6],
pub h_proto: uint16_t,
}Fields§
§h_dest: [uint8_t; 6]§h_source: [uint8_t; 6]§h_proto: uint16_tTrait Implementations§
impl Copy for ethhdr
impl Eq for ethhdr
Source§impl Ord for ethhdr
impl Ord for ethhdr
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ethhdr
impl PartialOrd for ethhdr
impl StructuralPartialEq for ethhdr
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more