Struct abstract_ns::Router [] [src]

pub struct Router(_);

A helper which allows to resolve different names by different means

Create it using RouterBuilder

Note: router resolves any name only once. I.e. if name matches a suffix it doesn't get resolved using a fallback resolver even if original resolver returned error.

Trait Implementations

impl Clone for Router
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Resolver for Router
[src]

Resolve a name to an address once

Resolve a name and subscribe to the updates Read more