Enum resolve::socket::Error [] [src]

pub enum Error {
    DecodeError(DecodeError),
    EncodeError(EncodeError),
    DnsError(DnsError),
    IoError(Error),
}

Represents an error in sending or receiving a DNS message.

Variants

Error decoding received data

Error encoding data to be sent

Server responded with error message

Error generated by network operation

Methods

impl Error
[src]

[src]

Returns true if the error is the result of an operation having timed out.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<DecodeError> for Error
[src]

[src]

Performs the conversion.

impl From<EncodeError> for Error
[src]

[src]

Performs the conversion.

impl From<DnsError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.