Enum pnet::datalink::DataLinkChannelType []

pub enum DataLinkChannelType {
    Layer2,
    Layer3(EtherType),
}

Type of data link channel to present

Variants

Layer2

Send and receive layer 2 packets directly, including headers

Layer3

Send and receive "cooked" packets - send and receive network layer packets FIXME Currently unimplemented

Trait Implementations

Derived Implementations

impl Copy for DataLinkChannelType

impl Clone for DataLinkChannelType

fn clone(&self) -> DataLinkChannelType

fn clone_from(&mut self, source: &Self)