tokio_
stream
0.1.17
Module throttle
Module Items
Structs
Functions
In tokio_
stream::
stream_
ext
tokio_stream
::
stream_ext
Module
throttle
Copy item path
source
Expand description
Slow down a stream by enforcing a delay between items.
Structs
ยง
Throttle
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
ยง
is_zero
๐
throttle
๐