Enum trust_dns::error::ClientErrorKind []

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

Variants

Msg(String)Decode(ErrorKind)Encode(ErrorKind)IoMessage(&'static str)NotAllBytesSent(usizeusize)NotAllBytesReceived(usizeusize)IncorrectMessageId(u16u16)ErrorResponse(ResponseCode)NoRRSIGNoDNSKEYNoDSNoSOARecord(Name)SecNxDomain(Vec<Record>)

Methods

impl ErrorKind

fn description(&self) -> &str

Trait Implementations

impl Debug for ErrorKind

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

Formats the value using the given formatter.

impl Display for ErrorKind

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

Formats the value using the given formatter.

impl From<ErrorKind> for ErrorKind

fn from(e: ErrorKind) -> Self

Performs the conversion.

impl From<ErrorKind> for ErrorKind

fn from(e: ErrorKind) -> Self

Performs the conversion.

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

fn from(s: &'a str) -> Self

Performs the conversion.

impl From<String> for ErrorKind

fn from(s: String) -> Self

Performs the conversion.