Enum pnet_transport::TransportChannelType
[−]
[src]
pub enum TransportChannelType { Layer4(TransportProtocol), Layer3(IpNextHeaderProtocol), }
Type of transport channel to present
Variants
Layer4(TransportProtocol)
The application will send and receive transport layer packets
Layer3(IpNextHeaderProtocol)
The application will send and receive IPv4 packets, with the specified transport protocol
Trait Implementations
impl Clone for TransportChannelType
[src]
fn clone(&self) -> TransportChannelType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more