We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef958f0 commit 7c73867Copy full SHA for 7c73867
src/stream/stream/throttle.rs
@@ -9,7 +9,13 @@ use crate::stream::Stream;
9
use crate::task::{Context, Poll};
10
11
pin_project! {
12
- /// A stream that only yields one element once every `duration`, and applies backpressure. Does not drop any elements.
+ /// A stream that only yields one element once every `duration`.
13
+ ///
14
+ /// This `struct` is created by the [`throttle`] method on [`Stream`]. See its
15
+ /// documentation for more.
16
17
+ /// [`throttle`]: trait.Stream.html#method.throttle
18
+ /// [`Stream`]: trait.Stream.html
19
#[doc(hidden)]
20
#[allow(missing_debug_implementations)]
21
pub struct Throttle<S> {
0 commit comments