Struct hyper_trust_dns::TrustDnsResolver [−][src]
pub struct TrustDnsResolver { /* fields omitted */ }Expand description
A hyper resolver using trust-dns’s TokioAsyncResolver.
Implementations
Create a new TrustDnsResolver with the default config options.
This must be run inside a Tokio runtime context.
Trait Implementations
type Response = SocketAddrs
type Response = SocketAddrs
Responses given by the service.
type Error = ResolveError
type Error = ResolveError
Errors produced by the service.
The future response value.
Returns Poll::Ready(Ok(())) when the service is able to process requests. Read more
Auto Trait Implementations
impl !RefUnwindSafe for TrustDnsResolver
impl Send for TrustDnsResolver
impl Sync for TrustDnsResolver
impl Unpin for TrustDnsResolver
impl !UnwindSafe for TrustDnsResolver
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more