2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-13 20:06:43 +00:00

doc: Add Stream::Timeout doc

This commit is contained in:
k-nasa 2019-10-16 22:56:48 +09:00
parent c3f6f969c5
commit 0a4073449b

View file

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