Enum trust_dns::error::DecodeError
[−]
[src]
pub enum DecodeError { ParseUtf8Error(FromUtf8Error), UnknownDnsClassValue(u16), UnknownDnsClassStr(String), UnknownRecordTypeValue(u16), UnknownRecordTypeStr(String), NoRecordDataType, NoRecordDataLength, EOF, }
Variants
ParseUtf8Error(FromUtf8Error)
UnknownDnsClassValue(u16)
UnknownDnsClassStr(String)
UnknownRecordTypeValue(u16)
UnknownRecordTypeStr(String)
NoRecordDataType
NoRecordDataLength
EOF
Trait Implementations
impl Debug for DecodeError
[src]
impl Display for DecodeError
[src]
impl Error for DecodeError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<FromUtf8Error> for DecodeError
[src]
fn from(err: FromUtf8Error) -> DecodeError
Performs the conversion.