Enum nat_traversal::SimpleTcpHolePunchServerNewError []

pub enum SimpleTcpHolePunchServerNewError {
    CreateMappedSocket {
        err: MappedTcpSocketNewError,
    },
    Listen {
        err: Error,
    },
    SocketLocalAddr {
        err: Error,
    },
}

Errors returned by SimpleTcpHolePunchServer::new

Variants

CreateMappedSocket

Error creating a mapped tcp socket to listen on.

Fields

err: MappedTcpSocketNewError
Listen

Fields

err: Error
SocketLocalAddr

Fields

err: Error

Trait Implementations

impl Debug for SimpleTcpHolePunchServerNewError
[src]

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

Formats the value using the given formatter.

impl Display for SimpleTcpHolePunchServerNewError

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

Formats the value using the given formatter.

impl Error for SimpleTcpHolePunchServerNewError

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