Struct c_ares::TXTResults
source · pub struct TXTResults { /* private fields */ }Expand description
The result of a successful TXT lookup.
Implementations§
source§impl TXTResults
impl TXTResults
sourcepub fn parse_from(data: &[u8]) -> Result<TXTResults>
pub fn parse_from(data: &[u8]) -> Result<TXTResults>
Obtain a TXTResults from the response to a TXT lookup.
sourcepub fn iter(&self) -> TXTResultsIter<'_> ⓘ
pub fn iter(&self) -> TXTResultsIter<'_> ⓘ
Returns an iterator over the TXTResult values in this TXTResults.
Trait Implementations§
source§impl Debug for TXTResults
impl Debug for TXTResults
source§impl Display for TXTResults
impl Display for TXTResults
source§impl Drop for TXTResults
impl Drop for TXTResults
source§impl<'a> IntoIterator for &'a TXTResults
impl<'a> IntoIterator for &'a TXTResults
impl Send for TXTResults
impl Sync for TXTResults
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