Struct abstract_ns::combinators::NullResolver [] [src]

pub struct NullResolver<R> { /* fields omitted */ }

A resolver that implements implements Resolve+HostResolve but returns NameNotFound on resolve

This is needed to add resolver that can only resolve hostnames to the router.

You can create it with HostResolve::null_service_resolver

Trait Implementations

impl<R: Debug> Debug for NullResolver<R>
[src]

[src]

Formats the value using the given formatter.

impl<R> Resolve for NullResolver<R>
[src]

A future returned from resolve()

[src]

Resolve a name to an address once

[src]

Create a subscriber that resolves once using this resolver and never updates a stream Read more

[src]

Create a subscriber that resolves once using this resolver and never updates a stream Read more

[src]

Create a thing that implements Resolve+HostResolve but returns NameNotFound on resolve_host Read more

impl<R: HostResolve> HostResolve for NullResolver<R>
[src]

A future returned from resolve()

[src]

Resolve a name to an address once

[src]

Create a subscriber that resolves once using this resolver and never updates a stream Read more

[src]

Create a thing that implements Resolve+HostResolve but returns NameNotFound on resolve Read more