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