Trait pnet::packet::PrimitiveValues
[−]
pub trait PrimitiveValues {
type T;
fn to_primitive_values(&self) -> Self::T;
}Used to convert a type to primitive values representing it
Associated Types
type T
A tuple of types, to represent the current value
Required Methods
fn to_primitive_values(&self) -> Self::T
Convert a value to primitive types representing it
Implementors
impl PrimitiveValues for EtherTypeimpl PrimitiveValues for IpNextHeaderProtocolimpl PrimitiveValues for Ipv4Addrimpl PrimitiveValues for Ipv6Addrimpl PrimitiveValues for MacAddr