Enum trust_dns_resolver::error::ResolveErrorKind
[−]
pub enum ResolveErrorKind {
Msg(String),
Proto(ProtoErrorKind),
Io,
Message(&'static str),
NoRecordsFound(Query),
}Variants
Msg(String)Proto(ProtoErrorKind)IoMessage(&'static str)NoRecordsFound(Query)
Methods
impl ResolveErrorKind
pub fn description(&self) -> &str
Trait Implementations
impl From<ResolveErrorKind> for ResolveError
fn from(e: ResolveErrorKind) -> Self
Performs the conversion.
impl Debug for ResolveErrorKind
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for ResolveErrorKind
impl From<ProtoErrorKind> for ResolveErrorKind
fn from(e: ProtoErrorKind) -> Self
Performs the conversion.