Enum nat_traversal::MappedUdpSocketNewError []

pub enum MappedUdpSocketNewError {
    CreateSocket {
        err: Error,
    },
    MapSocket {
        err: MappedUdpSocketMapError,
    },
}

Errors returned by MappedUdpSocket::new

Variants

CreateSocket

Error creating new udp socket bound to 0.0.0.0:0

Fields

err: Error
MapSocket

Error mapping udp socket.

Fields

err: MappedUdpSocketMapError

Trait Implementations

impl Debug for MappedUdpSocketNewError
[src]

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

Formats the value using the given formatter.

impl Display for MappedUdpSocketNewError

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

Formats the value using the given formatter.

impl Error for MappedUdpSocketNewError

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