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