Enum igd::RemovePortError [] [src]

pub enum RemovePortError {
    ActionNotAuthorized,
    NoSuchPortMapping,
    RequestError(RequestError),
}

Errors returned by Gateway::remove_port

Variants

ActionNotAuthorized

The client is not authorized to perform the operation.

NoSuchPortMapping

No such port mapping.

RequestError

Some other error occured performing the request.

Trait Implementations

impl Display for RemovePortError
[src]

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

Formats the value using the given formatter.

impl Error for RemovePortError
[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 RemovePortError
[src]

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

Formats the value using the given formatter.