[][src]Struct trust_dns_client::client::BasicClientHandle

pub struct BasicClientHandle<Resp> where
    Resp: Future<Output = Result<DnsResponse, ProtoError>> + 'static + Send
{ /* fields omitted */ }

Root ClientHandle implementation returned by ClientFuture

This can be used directly to perform queries. See trust_dns_client::client::SecureClientHandle for a DNSSEc chain validator.

Trait Implementations

impl<Resp> Clone for BasicClientHandle<Resp> where
    Resp: Future<Output = Result<DnsResponse, ProtoError>> + 'static + Send
[src]

impl<Resp> DnsHandle for BasicClientHandle<Resp> where
    Resp: Future<Output = Result<DnsResponse, ProtoError>> + 'static + Send + Unpin
[src]

type Response = OneshotDnsResponseReceiver<Resp>

The associated response from the response future, this should resolve to the Response message

Auto Trait Implementations

impl<Resp> Send for BasicClientHandle<Resp>

impl<Resp> Sync for BasicClientHandle<Resp>

impl<Resp> Unpin for BasicClientHandle<Resp>

impl<Resp> !UnwindSafe for BasicClientHandle<Resp>

impl<Resp> !RefUnwindSafe for BasicClientHandle<Resp>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,