doc: Add Stream::Timeout doc

yoshuawuyts-patch-1
k-nasa 5 years ago
parent c3f6f969c5
commit 0a4073449b

@ -9,7 +9,7 @@ use crate::future::Future;
use crate::stream::Stream; use crate::stream::Stream;
use crate::task::{Context, Poll}; use crate::task::{Context, Poll};
#[doc(hidden)] /// A stream with timeout time set
#[derive(Debug)] #[derive(Debug)]
pub struct Timeout<S: Stream> { pub struct Timeout<S: Stream> {
stream: S, stream: S,

Loading…
Cancel
Save