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