Enum trust_dns::error::DecodeError [] [src]

pub enum DecodeError {
    ParseUtf8Error(FromUtf8Error),
    UnknownDnsClassValue(u16),
    UnknownDnsClassStr(String),
    UnknownRecordTypeValue(u16),
    UnknownRecordTypeStr(String),
    UnknownAlgorithmTypeValue(u8),
    NoRecordDataType,
    NoRecordDataLength,
    EOF,
    Sig0NotLast,
    EdnsNameNotRoot,
    DnsKeyProtocolNot3(u8),
    UnrecognizedNsec3Flags(u8),
    UnrecognizedLabelCode(u8),
    IncorrectRDataLengthRead(usize, usize),
    BadPublicKey,
    SslError(SslError),
    MoreThanOneEdns,
}

Variants

ParseUtf8Error
UnknownDnsClassValue
UnknownDnsClassStr
UnknownRecordTypeValue
UnknownRecordTypeStr
UnknownAlgorithmTypeValue
NoRecordDataType
NoRecordDataLength
EOF
Sig0NotLast
EdnsNameNotRoot
DnsKeyProtocolNot3
UnrecognizedNsec3Flags
UnrecognizedLabelCode
IncorrectRDataLengthRead
BadPublicKey
SslError
MoreThanOneEdns

Trait Implementations

impl Debug for DecodeError

fn fmt(&self, f: &mut Formatter) -> Result

impl Display for DecodeError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for DecodeError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl From<FromUtf8Error> for DecodeError

fn from(err: FromUtf8Error) -> DecodeError

impl From<SslError> for DecodeError

fn from(err: SslError) -> DecodeError