Function timeout_stream

Source
pub fn timeout_stream<S>(duration: Duration, stream: S) -> TimeoutStream<S>
where S: Stream,