Struct trust_dns_resolver::lookup::Lookup [] [src]

pub struct Lookup { /* fields omitted */ }

Result of a DNS query when querying for any record type supported by the TRust-DNS Proto library.

For IP resolution see LookupIp, as it has more features for A and AAAA lookups.

Methods

impl Lookup
[src]

[src]

Return new instance with given rdatas

[src]

Returns a borrowed iterator of the returned IPs

Trait Implementations

impl Clone for Lookup
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Lookup
[src]

[src]

Formats the value using the given formatter.

impl Eq for Lookup
[src]

impl PartialEq for Lookup
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<RData> for Lookup
[src]

[src]

Performs the conversion.