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:
parent
c3f6f969c5
commit
0a4073449b
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue