Enum trust_dns_resolver::error::ResolveErrorKind [−]
pub enum ResolveErrorKind { Msg(String), Proto(ProtoErrorKind), Io, Message(&'static str), NoRecordsFound(Query), }
Variants
Msg(String)
Proto(ProtoErrorKind)
Io
Message(&'static str)
NoRecordsFound(Query)
Methods
impl ResolveErrorKind
impl ResolveErrorKind
pub fn description(&self) -> &str
pub fn description(&self) -> &str
Trait Implementations
impl From<ResolveErrorKind> for ResolveError
impl From<ResolveErrorKind> for ResolveError
fn from(e: ResolveErrorKind) -> Self
fn from(e: ResolveErrorKind) -> Self
Performs the conversion.
impl Debug for ResolveErrorKind
impl Debug for ResolveErrorKind
impl Display for ResolveErrorKind
impl Display for ResolveErrorKind
impl From<ProtoErrorKind> for ResolveErrorKind
impl From<ProtoErrorKind> for ResolveErrorKind
fn from(e: ProtoErrorKind) -> Self
fn from(e: ProtoErrorKind) -> Self
Performs the conversion.
impl<'a> From<&'a str> for ResolveErrorKind
impl<'a> From<&'a str> for ResolveErrorKind
impl From<String> for ResolveErrorKind
impl From<String> for ResolveErrorKind
impl Clone for ResolveErrorKind
[src]
impl Clone for ResolveErrorKind
Auto Trait Implementations
impl Send for ResolveErrorKind
impl Send for ResolveErrorKind
impl Sync for ResolveErrorKind
impl Sync for ResolveErrorKind