Enum pnet::transport::TransportChannelType [] [src]

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
[src]

impl Clone for TransportChannelType
[src]

fn clone(&self) -> TransportChannelType

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more