Add a channel to the futures-mio crate

This commit is contained in:
Alex Crichton
2016-08-20 23:41:19 -07:00
parent 2bd616df51
commit df9730fcbe
3 changed files with 119 additions and 7 deletions
+2
View File
@@ -48,7 +48,9 @@ impl<E> ReadinessStream<E>
handle: loop_handle,
}
}
}
impl<E> ReadinessStream<E> {
/// Tests to see if this source is ready to be read from or not.
///
/// If this stream is not ready for a read then `NotReady` will be returned