Struct c_ares::SRVResults
source · pub struct SRVResults { /* private fields */ }
Expand description
The result of a successful SRV lookup.
Implementations
sourceimpl 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
sourceimpl Debug for SRVResults
impl Debug for SRVResults
sourceimpl Display for SRVResults
impl Display for SRVResults
sourceimpl Drop for SRVResults
impl Drop for SRVResults
sourceimpl<'a> IntoIterator for &'a SRVResults
impl<'a> IntoIterator for &'a SRVResults
impl Send for SRVResults
impl Sync for SRVResults
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