[][src]Trait domain_resolv::resolver::SearchNames

pub trait SearchNames {
    type Iter: Iterator<Item = Dname>;
    fn search_iter(&self) -> Self::Iter;
}

A type that can produce a list of name suffixes.

Legacy systems have the ability to interpret relative domain names as within the local system. They provide a list of suffixes that can be attached to the name to make it absolute.

A search resolver is a resolver that provides such a list. This is implemented via an iterator over domain names.

Associated Types

type Iter: Iterator<Item = Dname>

Loading content...

Required methods

fn search_iter(&self) -> Self::Iter

Returns an iterator over the search suffixes.

Loading content...

Implementors

impl SearchNames for StubResolver[src]

type Iter = SearchIter

Loading content...