Module tokio_stream::stream_ext::throttle
source · Expand description
Slow down a stream by enforcing a delay between items.
Structs§
- Stream for the
throttle
function. This object is!Unpin
. If you need it to implementUnpin
you can pin your throttle like this:Box::pin(your_throttle)
.