Enum trust_dns::error::ClientErrorKind
[−]
pub enum ClientErrorKind { Msg(String), Proto(ProtoErrorKind), DnsSec(DnsSecErrorKind), Io, SSL, NoError, Message(&'static str), Timeout, }
Variants
Msg(String)
Proto(ProtoErrorKind)
DnsSec(DnsSecErrorKind)
Io
SSL
NoError
Message(&'static str)
Timeout
Methods
impl ErrorKind
pub fn description(&self) -> &str
Trait Implementations
impl From<ErrorKind> for Error
impl Debug for ErrorKind
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for ErrorKind
impl From<ProtoErrorKind> for ErrorKind
fn from(e: ProtoErrorKind) -> Self
Performs the conversion.
impl From<DnsSecErrorKind> for ErrorKind
fn from(e: DnsSecErrorKind) -> Self
Performs the conversion.