Struct etherparse::Ethernet2Header
[−]
[src]
pub struct Ethernet2Header {
pub destination: [u8; 6],
pub source: [u8; 6],
pub ether_type: u16,
}Ethernet II header.
Fields
destination: [u8; 6]
source: [u8; 6]
ether_type: u16
Trait Implementations
impl Debug for Ethernet2Header[src]
impl PartialEq for Ethernet2Header[src]
fn eq(&self, __arg_0: &Ethernet2Header) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Ethernet2Header) -> bool[src]
This method tests for !=.