Struct c_ares::MXResult[][src]

pub struct MXResult<'a> { /* fields omitted */ }

The contents of a single MX record.

Methods

impl<'a> MXResult<'a>
[src]

Returns the hostname in this MXResult.

In practice this is very likely to be a valid UTF-8 string, but the underlying c-ares library does not guarantee this - so we leave it to users to decide whether they prefer a fallible conversion, a lossy conversion, or something else altogether.

Returns the priority from this MXResult.

Trait Implementations

impl<'a> Clone for MXResult<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Copy for MXResult<'a>
[src]

impl<'a> Send for MXResult<'a>
[src]

impl<'a> Sync for MXResult<'a>
[src]

impl<'a> Display for MXResult<'a>
[src]

Formats the value using the given formatter. Read more