[][src]Struct igd::PortMappingEntry

pub struct PortMappingEntry {
    pub remote_host: String,
    pub external_port: u16,
    pub protocol: PortMappingProtocol,
    pub internal_port: u16,
    pub internal_client: String,
    pub enabled: bool,
    pub port_mapping_description: String,
    pub lease_duration: u32,
}

One port mapping entry as returned by GetGenericPortMappingEntry

Fields

remote_host: String

The remote host for which the mapping is valid Can be an IP address or a host name

external_port: u16

The external port of the mapping

protocol: PortMappingProtocol

The protocol of the mapping

internal_port: u16

The internal (local) port

internal_client: String

The internal client of the port mapping Can be an IP address or a host name

enabled: bool

A flag whether this port mapping is enabled

port_mapping_description: String

A description for this port mapping

lease_duration: u32

The lease duration of this port mapping in seconds

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,