pub trait SearchNames {
    type Name: ToDname;
    type Iter: Iterator<Item = Self::Name>;

    // Required method
    fn search_iter(&self) -> Self::Iter;
}
Expand description

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.

Required Associated Types§

source

type Name: ToDname

source

type Iter: Iterator<Item = Self::Name>

Required Methods§

source

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

Returns an iterator over the search suffixes.

Implementors§