Enum pnet::transport::TransportProtocol []

pub enum TransportProtocol {
    Ipv4(IpNextHeaderProtocol),
    Ipv6(IpNextHeaderProtocol),
}

Represents a transport layer protocol

Variants

Ipv4

Represents a transport protocol built on top of IPv4

Ipv6

Represents a transport protocol built on top of IPv6

Trait Implementations

Derived Implementations

impl Copy for TransportProtocol

impl Clone for TransportProtocol

fn clone(&self) -> TransportProtocol

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