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 implement Unpin you can pin your throttle like this: Box::pin(your_throttle).

Functions§