Struct c_ares::HostResults [] [src]

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

The result of a successful host lookup.

Methods

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

Returns the hostname from this HostResults.

Returns an iterator over the IpAddr values in this HostResults.

Returns an iterator over the host aliases in this HostResults.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

Formats the value using the given formatter. Read more