Enum nat_traversal::MappedTcpSocketMapError []

pub enum MappedTcpSocketMapError {
    SocketLocalAddr {
        err: Error,
    },
}

Errors returned by MappedTcpSocket::map

Variants

SocketLocalAddr

Error getting local address of the socket. Most likely, bind() has not been called on the socket.

Fields

err: Error

Trait Implementations

impl Debug for MappedTcpSocketMapError
[src]

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

Formats the value using the given formatter.

impl Display for MappedTcpSocketMapError

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

Formats the value using the given formatter.

impl Error for MappedTcpSocketMapError

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