Enum trust_dns::error::DnsSecErrorKind
[−]
pub enum DnsSecErrorKind { Msg(String), Proto(ProtoErrorKind), Io, SSL, Ring, Message(&'static str), }
Variants
Msg(String)
Proto(ProtoErrorKind)
Io
SSL
Ring
Message(&'static str)
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<'a> From<&'a str> for ErrorKind
impl From<String> for ErrorKind
impl From<DnsSecErrorKind> for ErrorKind
fn from(e: DnsSecErrorKind) -> Self
Performs the conversion.