Struct c_ares::MXResults [−][src]
pub struct MXResults { /* fields omitted */ }
The result of a successful MX lookup.
Methods
impl MXResults
[src]
impl MXResults
pub fn parse_from(data: &[u8]) -> Result<MXResults>
[src]
pub fn parse_from(data: &[u8]) -> Result<MXResults>
Obtain an MXResults
from the response to an MX lookup.
ⓘImportant traits for MXResultsIter<'a>pub fn iter(&self) -> MXResultsIter
[src]
ⓘImportant traits for MXResultsIter<'a>
pub fn iter(&self) -> MXResultsIter
Returns an iterator over the MXResult
values in this MXResults
.
Trait Implementations
impl Debug for MXResults
[src]
impl Debug for MXResults
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for MXResults
[src]
impl Display for MXResults
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> IntoIterator for &'a MXResults
[src]
impl<'a> IntoIterator for &'a MXResults
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]
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more
impl Drop for MXResults
[src]
impl Drop for MXResults
impl Send for MXResults
[src]
impl Send for MXResults
impl Sync for MXResults
[src]
impl Sync for MXResults