Enum pnet::transport::TransportProtocol [] [src]

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

Represents a transport layer protocol

Variants

Represents a transport protocol built on top of IPv4

Represents a transport protocol built on top of IPv6

Trait Implementations

impl Clone for TransportProtocol
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TransportProtocol
[src]