Enum pnet::transport::TransportChannelType []

pub enum TransportChannelType {
    Layer4(TransportProtocol),
    Layer3(IpNextHeaderProtocol),
}

Type of transport channel to present

Variants

Layer4

The application will send and receive transport layer packets

Layer3

The application will send and receive IPv4 packets, with the specified transport protocol

Trait Implementations

Derived Implementations

impl Copy for TransportChannelType

impl Clone for TransportChannelType

fn clone(&self) -> TransportChannelType

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