Struct c_ares::TXTResults
[−]
[src]
pub struct TXTResults { // some fields omitted }
The result of a successful TXT lookup.
Methods
impl TXTResults
[src]
fn parse_from(data: &[u8]) -> Result<TXTResults, AresError>
Obtain a TXTResults
from the response to a TXT lookup.
fn iter(&self) -> TXTResultsIterator
Returns an iterator over the TXTResult
values in this TXTResults
.
Trait Implementations
impl Debug for TXTResults
[src]
impl Display for TXTResults
[src]
impl<'a> IntoIterator for &'a TXTResults
[src]
type Item = TXTResult<'a>
The type of the elements being iterated over.
type IntoIter = TXTResultsIterator<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more