Enum resolv::error::Error [] [src]

pub enum Error {
    Resolver(ResolutionError),
    CString(NulError),
    CStr(FromBytesWithNulError),
    ParseError,
    NoSuchSectionIndex(Sectionusize),
    UncompressError,
    Unterminated,
    WrongRRType,
    Utf8(Utf8Error),
    UnknownClass(u16),
}

Variants

Name Resolution failed

String contains null bytes

Stirng contains null bytes

Name service response does not parse

Section/Index is out of bounds

Uncompress Error

Result from dn_expand was not null terminated

Wrong Resource record type

String is not valid UTF-8

Unknown class

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

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

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<ResolutionError> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.

impl From<FromBytesWithNulError> for Error
[src]

Performs the conversion.