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