Struct c_ares::SRVResults
source · 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§
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