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