Enum trust_dns::error::DecodeErrorKind []

pub enum DecodeErrorKind {
    Msg(String),
    DnsSec(DnsSecErrorKind),
    UTF8,
    SSL,
    Message(&'static str),
    InvalidToolchainName(String),
    UnknownDnsClassValue(u16),
    UnknownDnsClassStr(String),
    UnknownRecordTypeValue(u16),
    UnknownRecordTypeStr(String),
    UnknownAlgorithmTypeValue(u8),
    EdnsNameNotRoot(Name),
    DnsKeyProtocolNot3(u8),
    UnrecognizedNsec3Flags(u8),
    UnrecognizedLabelCode(u8),
    IncorrectRDataLengthRead(usizeusize),
}

Variants

Methods

impl ErrorKind

Trait Implementations

impl Debug for ErrorKind

Formats the value using the given formatter.

impl Display for ErrorKind

Formats the value using the given formatter.

impl From<DnsSecErrorKind> for ErrorKind

Performs the conversion.

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.