Enum igd::RequestError [] [src]

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

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

Variants

Http/Hyper error

IO Error

The response from the gateway could not be parsed.

The gateway returned an unhandled error code and description.

Trait Implementations

impl Debug for RequestError
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for RequestError
[src]

[src]

Performs the conversion.

impl From<Error> for RequestError
[src]

[src]

Performs the conversion.

impl Display for RequestError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for RequestError
[src]

[src]

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

[src]

A short description of the error. Read more