Enum resolv::error::Error
[−]
[src]
pub enum Error {
Resolver(ResolutionError),
CString(NulError),
CStr(FromBytesWithNulError),
ParseError,
NoSuchSectionIndex(Section, usize),
UncompressError,
Unterminated,
WrongRRType,
Utf8(Utf8Error),
UnknownClass(u16),
}Variants
Resolver(ResolutionError)Name Resolution failed
CString(NulError)String contains null bytes
CStr(FromBytesWithNulError)Stirng contains null bytes
ParseErrorName service response does not parse
NoSuchSectionIndex(Section, usize)Section/Index is out of bounds
UncompressErrorUncompress Error
UnterminatedResult from dn_expand was not null terminated
WrongRRTypeWrong Resource record type
Utf8(Utf8Error)String is not valid UTF-8
UnknownClass(u16)Unknown class
Trait Implementations
impl Debug for Error[src]
impl From<ResolutionError> for Error[src]
fn from(err: ResolutionError) -> Error
Performs the conversion.
impl From<Utf8Error> for Error[src]
impl From<FromBytesWithNulError> for Error[src]
fn from(err: FromBytesWithNulError) -> Error
Performs the conversion.