Enum trust_dns::error::ClientErrorKind
[−]
pub enum ClientErrorKind {
Msg(String),
Decode(ErrorKind),
Encode(ErrorKind),
DnsSec(DnsSecErrorKind),
Io,
SSL,
NoError,
Canceled(Canceled),
Message(&'static str),
NotAllBytesSent(usize, usize),
NotAllBytesReceived(usize, usize),
IncorrectMessageId(u16, u16),
ErrorResponse(ResponseCode),
NoRRSIG,
NoDNSKEY,
NoDS,
NoSOARecord(Name),
SecNxDomain(Vec<Record>),
Timeout,
}Variants
Msg(String)Decode(ErrorKind)Encode(ErrorKind)DnsSec(DnsSecErrorKind)IoSSLNoErrorCanceled(Canceled)Message(&'static str)NotAllBytesSent(usize, usize)NotAllBytesReceived(usize, usize)IncorrectMessageId(u16, u16)ErrorResponse(ResponseCode)NoRRSIGNoDNSKEYNoDSNoSOARecord(Name)SecNxDomain(Vec<Record>)Timeout
Methods
impl ErrorKind
fn description(&self) -> &str
Trait Implementations
impl Debug for ErrorKind
impl Display for ErrorKind
impl From<ErrorKind> for ErrorKind
impl From<ErrorKind> for ErrorKind
impl From<DnsSecErrorKind> for ErrorKind
fn from(e: DnsSecErrorKind) -> Self
Performs the conversion.