#[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_t
Trait Implementations§
Source§impl Ord for ethhdr
impl Ord for ethhdr
Source§impl PartialOrd for ethhdr
impl PartialOrd for ethhdr
impl Copy for ethhdr
impl Eq 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 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