pub fn new(stream: T, duration: Duration) -> Self {
        Self {
            delay: None,
            duration: duration,
            stream: stream,
        }
    }
/// Slow down a stream by enforcing a delay between items.
Slow down a stream by enforcing a delay between items.
Slow down a stream by enforcing a delay between items .
pub fn new(stream: T, duration: Duration) -> Self {
        Self {
            delay: None,
            duration: duration,
            stream: stream,
        }
    }
pub fn new ( stream : T , duration : Duration ) -> Self { Self { delay : None , duration : duration , stream : stream , } }
Slow down a stream by enforcing a delay between items.
Slow down a stream by enforcing a delay between items .
stream
T
duration
Duration