Enum igd::SearchError [] [src]

pub enum SearchError {
    HttpError(Error),
    InvalidResponse,
    IoError(Error),
    Utf8Error(Utf8Error),
    XmlError(XmlError),
}

Errors than can occur while trying to find the gateway.

Variants

HttpError

Http/Hyper error

InvalidResponse

Unable to process the response

IoError

IO Error

Utf8Error

UTF-8 decoding error

XmlError

XML processing error

Trait Implementations

impl From<Error> for SearchError
[src]

fn from(err: Error) -> SearchError

Performs the conversion.

impl From<Error> for SearchError
[src]

fn from(err: Error) -> SearchError

Performs the conversion.

impl From<Utf8Error> for SearchError
[src]

fn from(err: Utf8Error) -> SearchError

Performs the conversion.

impl From<XmlError> for SearchError
[src]

fn from(err: XmlError) -> SearchError

Performs the conversion.

impl Display for SearchError
[src]

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

Formats the value using the given formatter.

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

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

Formats the value using the given formatter.