aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alessandro Ghedini <alessandro@ghedini.me> 2019-02-08 17:06:37 +0000
committerGravatar Alessandro Ghedini <alessandro@ghedini.me> 2019-02-08 17:06:38 +0000
commit1d40db7359c40cd4d8b1875937770be502d1826a (patch)
treeb270c155b94d3adc643b9e0bf9eab478d72fbcc6
parent6cf36bbfc8e5b833dee49958a33c899c73bf8e21 (diff)
downloadquiche-1d40db7359c40cd4d8b1875937770be502d1826a.tar.gz
quiche-1d40db7359c40cd4d8b1875937770be502d1826a.tar.zst
quiche-1d40db7359c40cd4d8b1875937770be502d1826a.zip
stream: link to Connection::readable() from Readable's docs
Diffstat (limited to '')
-rw-r--r--src/stream.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stream.rs b/src/stream.rs
index b887b18d..bbf7a91d 100644
--- a/src/stream.rs
+++ b/src/stream.rs
@@ -219,6 +219,10 @@ pub fn is_bidi(id: u64) -> bool {
}
/// An iterator over the streams that have outstanding data to read.
+///
+/// This can be obtained by calling a connection's [`readable()`] method.
+///
+/// [`readable()`]: struct.Connection.html#method.readable
pub struct Readable<'a> {
streams: hash_map::Iter<'a, u64, Stream>,
}