Enum trust_dns::error::ClientErrorKind []

pub enum ClientErrorKind {
    Msg(String),
    Decode(ErrorKind),
    Encode(ErrorKind),
    DnsSec(DnsSecErrorKind),
    Io,
    SSL,
    Canceled(Canceled),
    Message(&'static str),
    NotAllBytesSent(usizeusize),
    NotAllBytesReceived(usizeusize),
    IncorrectMessageId(u16u16),
    ErrorResponse(ResponseCode),
    NoRRSIG,
    NoDNSKEY,
    NoDS,
    NoSOARecord(Name),
    SecNxDomain(Vec<Record>),
    Timeout,
}

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<ErrorKind> for ErrorKind

Performs the conversion.

impl From<ErrorKind> for ErrorKind

Performs the conversion.

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.