Enum igd::GetExternalIpError [] [src]

pub enum GetExternalIpError {
    ActionNotAuthorized,
    RequestError(RequestError),
}

Errors returned by Gateway::get_external_ip

Variants

ActionNotAuthorized

The client is not authorized to perform the operation.

RequestError

Some other error occured performing the request.

Trait Implementations

impl Display for GetExternalIpError
[src]

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

Formats the value using the given formatter.

impl Error for GetExternalIpError
[src]

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

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

fn description(&self) -> &str

A short description of the error. Read more

Derived Implementations

impl Debug for GetExternalIpError
[src]

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

Formats the value using the given formatter.