Struct c_ares::HostResults
[−]
[src]
pub struct HostResults<'a> { /* fields omitted */ }
The result of a successful host lookup.
Methods
impl<'a> HostResults<'a>
[src]
fn hostname(&self) -> &str
Returns the hostname from this HostResults
.
fn addresses(&self) -> HostAddressResultsIter
Returns an iterator over the IpAddr
values in this HostResults
.
fn aliases(&self) -> HostAliasResultsIter
Returns an iterator over the host aliases in this HostResults
.
Trait Implementations
impl<'a> Clone for HostResults<'a>
[src]
fn clone(&self) -> HostResults<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more