Enum nat_traversal::MappedTcpSocketNewError []

pub enum MappedTcpSocketNewError {
    NewReusablyBoundTcpSocket {
        err: NewReusablyBoundTcpSocketError,
    },
    Map {
        err: MappedTcpSocketMapError,
    },
}

Errors returned by MappedTcpSocket::new

Variants

NewReusablyBoundTcpSocket

Error creating a reusably bound tcp socket.

Fields

err: NewReusablyBoundTcpSocketError
Map

Error mapping new socket.

Fields

err: MappedTcpSocketMapError

Trait Implementations

impl Debug for MappedTcpSocketNewError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for MappedTcpSocketNewError

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for MappedTcpSocketNewError

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more