Trait domain::resolv::resolver::SearchNames
source · 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§
Required Methods§
sourcefn search_iter(&self) -> Self::Iter
fn search_iter(&self) -> Self::Iter
Returns an iterator over the search suffixes.