Struct c_ares::CNameResults
[−]
[src]
pub struct CNameResults { /* fields omitted */ }
The result of a successful CNAME lookup.
Methods
impl CNameResults
[src]
fn parse_from(data: &[u8]) -> Result<CNameResults>
[src]
Obtain a CNameResults
from the response to a CNAME lookup.
fn hostname(&self) -> &str
[src]
Returns the hostname from this CNameResults
.
fn addresses(&self) -> HostAddressResultsIter
[src]
Returns an iterator over the IpAddr
values in this CNameResults
.
fn aliases(&self) -> HostAliasResultsIter
[src]
Returns an iterator over the host aliases in this CNameResults
.