pub struct SRVResults { /* private fields */ }
Expand description
The result of a successful SRV lookup.
Implementations§
Source§impl SRVResults
impl SRVResults
Sourcepub fn parse_from(data: &[u8]) -> Result<SRVResults>
pub fn parse_from(data: &[u8]) -> Result<SRVResults>
Obtain an SRVResults
from the response to an SRV lookup.
Sourcepub fn iter(&self) -> SRVResultsIter<'_> ⓘ
pub fn iter(&self) -> SRVResultsIter<'_> ⓘ
Returns an iterator over the SRVResult
values in this SRVResults
.
Trait Implementations§
Source§impl Debug for SRVResults
impl Debug for SRVResults
Source§impl Display for SRVResults
impl Display for SRVResults
Source§impl Drop for SRVResults
impl Drop for SRVResults
Source§impl<'a> IntoIterator for &'a SRVResults
impl<'a> IntoIterator for &'a SRVResults
impl Send for SRVResults
impl Sync for SRVResults
Auto Trait Implementations§
impl Freeze for SRVResults
impl RefUnwindSafe for SRVResults
impl Unpin for SRVResults
impl UnwindSafe for SRVResults
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> 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