Enum igd::RequestError [] [src]

pub enum RequestError {
    HttpError(Error),
    InvalidResponse,
    IoError(Error),
}

Errors that can occur when sending the request to the gateway.

Variants

HttpError(Error)

Http/Hyper error

InvalidResponse

Unable to process the response

IoError(Error)

IO Error

Trait Implementations

impl Debug for RequestError
[src]

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

Formats the value using the given formatter.

impl From<Error> for RequestError
[src]

fn from(err: Error) -> RequestError

Performs the conversion.

impl From<Error> for RequestError
[src]

fn from(err: Error) -> RequestError

Performs the conversion.