Enum igd::RequestError
[−]
[src]
pub enum RequestError { HttpError(Error), IoError(Error), InvalidResponse(String), ErrorCode(u16, String), }
Errors that can occur when sending the request to the gateway.
Variants
HttpError(Error)
Http/Hyper error
IoError(Error)
IO Error
InvalidResponse(String)
The response from the gateway could not be parsed.
ErrorCode(u16, String)
The gateway returned an unhandled error code and description.
Trait Implementations
impl Debug for RequestError
[src]
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.