Struct c_ares::NAPTRResults
source · pub struct NAPTRResults { /* private fields */ }
Expand description
The result of a successful NAPTR lookup.
Implementations
sourceimpl NAPTRResults
impl NAPTRResults
sourcepub fn parse_from(data: &[u8]) -> Result<NAPTRResults>
pub fn parse_from(data: &[u8]) -> Result<NAPTRResults>
Obtain a NAPTRResults
from the response to a NAPTR lookup.
sourcepub fn iter(&self) -> NAPTRResultsIter<'_> ⓘ
pub fn iter(&self) -> NAPTRResultsIter<'_> ⓘ
Returns an iterator over the NAPTRResult
values in this NAPTRResults
.
Trait Implementations
sourceimpl Debug for NAPTRResults
impl Debug for NAPTRResults
sourceimpl Display for NAPTRResults
impl Display for NAPTRResults
sourceimpl Drop for NAPTRResults
impl Drop for NAPTRResults
sourceimpl<'a> IntoIterator for &'a NAPTRResults
impl<'a> IntoIterator for &'a NAPTRResults
type Item = NAPTRResult<'a>
type Item = NAPTRResult<'a>
The type of the elements being iterated over.
type IntoIter = NAPTRResultsIter<'a>
type IntoIter = NAPTRResultsIter<'a>
Which kind of iterator are we turning this into?
impl Send for NAPTRResults
impl Sync for NAPTRResults
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more