Update grafana-data-source to tokio 0.2 (#4441)

This commit is contained in:
Ashley
2019-12-19 14:02:07 +01:00
committed by Gavin Wood
parent 8e393aa5a8
commit 9a1bb75809
5 changed files with 65 additions and 86 deletions
@@ -33,7 +33,7 @@ impl hyper::server::accept::Accept for Incoming<'_> {
pub struct TcpStream(pub async_std::net::TcpStream);
impl tokio_io::AsyncRead for TcpStream {
impl tokio::io::AsyncRead for TcpStream {
fn poll_read(
self: Pin<&mut Self>,
cx: &mut Context,
@@ -44,7 +44,7 @@ impl tokio_io::AsyncRead for TcpStream {
}
}
impl tokio_io::AsyncWrite for TcpStream {
impl tokio::io::AsyncWrite for TcpStream {
fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context,