From a6b307cfbefb568bd79eaf1d91edf9ab52d18533 Mon Sep 17 00:00:00 2001 From: Leandro Pacheco Date: Wed, 4 Apr 2018 18:18:12 +0200 Subject: [PATCH] re-export io::{ReadHalf/WriteHalf} timer::Error (#290) --- src/lib.rs | 2 ++ src/timer.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 6466896b8..024fa45f0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -140,10 +140,12 @@ pub mod io { ReadToEnd, read_until, ReadUntil, + ReadHalf, shutdown, Shutdown, write_all, WriteAll, + WriteHalf, }; // Re-export io::Error so that users don't have to deal diff --git a/src/timer.rs b/src/timer.rs index 7ba971028..1147a5db6 100644 --- a/src/timer.rs +++ b/src/timer.rs @@ -80,6 +80,7 @@ pub use tokio_timer::{ Deadline, DeadlineError, + Error, Interval, Delay, };