[][src]Struct trust_dns_resolver::TokioConnectionProvider

pub struct TokioConnectionProvider(_);

Standard connection implements the default mechanism for creating new Connections

Trait Implementations

impl Clone for TokioConnectionProvider[src]

impl ConnectionProvider for TokioConnectionProvider[src]

type Conn = TokioConnection

The handle to the connect for sending DNS requests.

type FutureConn = TokioConnectionFuture

Ths future is responsible for spawning any background tasks as necessary

fn new_connection(
    &self,
    config: &NameServerConfig,
    options: &ResolverOpts
) -> Self::FutureConn
[src]

Constructs an initial constructor for the ConnectionHandle to be used to establish a future connection.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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<V, T> VZip<V> for T where
    V: MultiLane<T>,