Struct c_ares::HostResults
[−]
[src]
pub struct HostResults<'a> { // some 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) -> HostAddressResultsIterator
Returns an iterator over the HostAddressResult
values in this
HostResults
.
fn aliases(&self) -> HostAliasResultsIterator
Returns an iterator over the HostAliasResult
values in this
HostResults
.