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]
fn new(rdatas: Arc<Vec<RData>>) -> Self
[src]
Return new instance with given rdatas
fn iter(&self) -> LookupIter
[src]
Returns a borrowed iterator of the returned IPs
Trait Implementations
impl Clone for Lookup
[src]
fn clone(&self) -> Lookup
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Lookup
[src]
impl Eq for Lookup
[src]
impl PartialEq for Lookup
[src]
fn eq(&self, __arg_0: &Lookup) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Lookup) -> bool
[src]
This method tests for !=
.