Struct c_ares::PTRResults
[−]
[src]
pub struct PTRResults { // some fields omitted }
The result of a successful PTR lookup.
Methods
impl PTRResults
[src]
fn parse_from(data: &[u8]) -> Result<PTRResults, AresError>
Obtain a PTRResults
from the response to a PTR lookup.
fn iter(&self) -> PTRResultsIterator
Returns an iterator over the PTRResult
values in this
PTRResults
.
Trait Implementations
impl<'a> IntoIterator for &'a PTRResults
[src]
type Item = PTRResult<'a>
The type of the elements being iterated over.
type IntoIter = PTRResultsIterator<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more