Enum nat_traversal::MappingContextNewError []

pub enum MappingContextNewError {
    ListInterfaces {
        err: Error,
    },
    SpawnThread {
        err: Error,
    },
}

Variants

ListInterfaces

Failed to list the local machine's network interfaces.

Fields

err: Error
SpawnThread

Failed to spawn a thread.

Fields

err: Error

Trait Implementations

impl Debug for MappingContextNewError
[src]

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

Formats the value using the given formatter.

impl Display for MappingContextNewError

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

Formats the value using the given formatter.

impl Error for MappingContextNewError

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