Enum igd::PortMappingProtocol [] [src]

pub enum PortMappingProtocol {
    TCP,
    UDP,
}

Represents the protocols available for port mapping.

Variants

TCP protocol

UDP protocol

Trait Implementations

impl Debug for PortMappingProtocol
[src]

Formats the value using the given formatter.

impl Clone for PortMappingProtocol
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PortMappingProtocol
[src]

impl PartialEq for PortMappingProtocol
[src]

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

This method tests for !=.

impl Display for PortMappingProtocol
[src]

Formats the value using the given formatter. Read more