Enum pnet::transport::TransportProtocol
[−]
[src]
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[src]
impl Clone for TransportProtocol[src]
fn clone(&self) -> TransportProtocol
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