Struct hyper_dns::DnsConnector[][src]

pub struct DnsConnector<C> { /* fields omitted */ }

A connector that wraps another connector and provides custom DNS resolution.

Methods

impl<C> DnsConnector<C> where
    C: Connect
[src]

Docs

Trait Implementations

impl<C: Debug> Debug for DnsConnector<C>
[src]

Formats the value using the given formatter. Read more

impl<C: Clone> Clone for DnsConnector<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C> Service for DnsConnector<C> where
    C: Service<Request = Uri, Error = Error> + 'static,
    C: Clone
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

Process the request and return the response asynchronously.

Auto Trait Implementations

impl<C> Send for DnsConnector<C> where
    C: Send

impl<C> Sync for DnsConnector<C> where
    C: Sync