libp2p::dns::tokio

Type Alias Transport

pub type Transport<T> = Transport<T, AsyncResolver<GenericConnector<TokioRuntimeProvider>>>;
Available on crate features dns and tokio only.
Expand description

A Transport wrapper for performing DNS lookups when dialing Multiaddresses using tokio for all async I/O.

Aliased Typeยง

struct Transport<T> { /* private fields */ }