Enum portforwarder_rs::port_forwarder::PortMappingProtocol [] [src]

pub enum PortMappingProtocol {
    TCP,
    UDP,
}

Represents the protocols available for port mapping.

Variants

TCP protocol

UDP protocol

Trait Implementations

impl Copy for PortMappingProtocol
[src]

impl Clone for PortMappingProtocol
[src]

impl PartialEq<PortMappingProtocol> for PortMappingProtocol
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for PortMappingProtocol
[src]

[src]

Formats the value using the given formatter.

impl Display for PortMappingProtocol
[src]

[src]