Merge pull request #5 from linkmauve/ConnectFuture

Use tokio::net::tcp::ConnectFuture directly
This commit is contained in:
Astro 2018-10-01 17:06:36 +02:00 committed by GitHub
commit 7ba1b5604f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,8 @@ use std::collections::BTreeMap;
use std::collections::VecDeque; use std::collections::VecDeque;
use std::cell::RefCell; use std::cell::RefCell;
use futures::{Future, Poll, Async}; use futures::{Future, Poll, Async};
use tokio::net::{ConnectFuture, TcpStream}; use tokio::net::TcpStream;
use tokio::net::tcp::ConnectFuture;
use trust_dns_resolver::{IntoName, Name, ResolverFuture, error::ResolveError}; use trust_dns_resolver::{IntoName, Name, ResolverFuture, error::ResolveError};
use trust_dns_resolver::lookup::SrvLookupFuture; use trust_dns_resolver::lookup::SrvLookupFuture;
use trust_dns_resolver::lookup_ip::LookupIpFuture; use trust_dns_resolver::lookup_ip::LookupIpFuture;