Trait trust_dns_proto::tcp::Connect
source · [−]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