Enum actix::actors::dns::LookupError [] [src]

pub enum LookupError {
    IOError(Error),
    NulError(NulError),
    Other(String),
    Generic,
}

Errors that can occur looking up a hostname.

Variants

A generic IO error

A Null Error

Other error

An unspecific error

Trait Implementations

impl From<Error> for LookupError
[src]

[src]

Performs the conversion.

impl From<NulError> for LookupError
[src]

[src]

Performs the conversion.

impl<'a> From<&'a str> for LookupError
[src]

[src]

Performs the conversion.

impl Error for LookupError
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for LookupError
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for LookupError
[src]

[src]

Formats the value using the given formatter.