tokio_stream::stream_ext

Module 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ยง