Struct pnet::packet::ethernet::EtherType
[−]
pub struct EtherType(pub u16);
Represents the Ethernet ethertype field.
pub struct EtherType(pub u16);
Represents the Ethernet ethertype field.
impl EtherTypeimpl PrimitiveValues for EtherTypetype T = (u16,)fn to_primitive_values(&self) -> (u16,)impl Ord for EtherTypeimpl PartialOrd for EtherTypefn partial_cmp(&self, __arg_0: &EtherType) -> Option<Ordering>fn lt(&self, __arg_0: &EtherType) -> boolfn le(&self, __arg_0: &EtherType) -> boolfn gt(&self, __arg_0: &EtherType) -> boolfn ge(&self, __arg_0: &EtherType) -> boolimpl Eq for EtherTypeimpl PartialEq for EtherTypeimpl Debug for EtherTypeimpl Clone for EtherTypefn clone(&self) -> EtherTypefn clone_from(&mut self, source: &Self)impl Copy for EtherType