Trait trust_dns_proto::tcp::Connect [−][src]
pub trait Connect: DnsTcpStream {
fn connect<'async_trait>(
addr: SocketAddr
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
where
Self: 'async_trait;
}
Expand description
Trait for TCP connection