[][src]Struct domain_resolv::lookup::addr::FoundAddrs

pub struct FoundAddrs<R: Resolver>(_);

The success type of the lookup_addr() function.

The only purpose of this type is to return an iterator over host names via its iter() method.

Methods

impl<R: Resolver> FoundAddrs<R>[src]

Important traits for FoundAddrsIter
pub fn iter(&self) -> FoundAddrsIter[src]

Returns an iterator over the host names.

Trait Implementations

impl<R: Resolver> IntoIterator for FoundAddrs<R>[src]

type Item = ParsedDname

The type of the elements being iterated over.

type IntoIter = FoundAddrsIter

Which kind of iterator are we turning this into?

impl<'a, R: Resolver> IntoIterator for &'a FoundAddrs<R>[src]

type Item = ParsedDname

The type of the elements being iterated over.

type IntoIter = FoundAddrsIter

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<R> Send for FoundAddrs<R> where
    <R as Resolver>::Answer: Send

impl<R> Sync for FoundAddrs<R> where
    <R as Resolver>::Answer: Sync

Blanket Implementations

impl<T> From for T[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T