Enum trust_dns_resolver::error::ResolveErrorKind[]

pub enum ResolveErrorKind {
    Msg(String),
    Proto(ProtoErrorKind),
    Io,
    Message(&'static str),
    NoRecordsFound(Query),
}

Variants

Methods

impl ResolveErrorKind

Trait Implementations

impl From<ResolveErrorKind> for ResolveError

Performs the conversion.

impl Debug for ResolveErrorKind

Formats the value using the given formatter. Read more

impl Display for ResolveErrorKind

Formats the value using the given formatter. Read more

impl From<ProtoErrorKind> for ResolveErrorKind

Performs the conversion.

impl<'a> From<&'a str> for ResolveErrorKind

Performs the conversion.

impl From<String> for ResolveErrorKind

Performs the conversion.

impl Clone for ResolveErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for ResolveErrorKind

impl Sync for ResolveErrorKind