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 Debug for ResolveErrorKind

Formats the value using the given formatter.

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more