pub struct AAAAResults { /* private fields */ }
Expand description
The result of a successful AAAA lookup.
Implementations§
Source§impl AAAAResults
impl AAAAResults
Sourcepub fn parse_from(data: &[u8]) -> Result<AAAAResults>
pub fn parse_from(data: &[u8]) -> Result<AAAAResults>
Obtain an AAAAResults
from the response to an AAAA lookup.
Sourcepub fn iter(&self) -> AAAAResultsIter<'_> ⓘ
pub fn iter(&self) -> AAAAResultsIter<'_> ⓘ
Returns an iterator over the AAAAResult
values in this AAAAResults
.
Trait Implementations§
Source§impl Clone for AAAAResults
impl Clone for AAAAResults
Source§fn clone(&self) -> AAAAResults
fn clone(&self) -> AAAAResults
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Display for AAAAResults
impl Display for AAAAResults
Source§impl<'a> IntoIterator for &'a AAAAResults
impl<'a> IntoIterator for &'a AAAAResults
impl Copy for AAAAResults
Auto Trait Implementations§
impl Freeze for AAAAResults
impl RefUnwindSafe for AAAAResults
impl Send for AAAAResults
impl Sync for AAAAResults
impl Unpin for AAAAResults
impl UnwindSafe for AAAAResults
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more