Trait trust_dns_proto::tcp::Connect [−][src]
Trait for TCP connection
Required methods
#[must_use]fn connect<'async_trait>(
addr: SocketAddr
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
addr: SocketAddr
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
Self: 'async_trait,
connect to tcp