pub fn record_bang(source: &Stream) -> Result<StreamRecording>Expand description
Drains source to done and captures it as a StreamRecording.
Errors if the stream is exhausted without reaching its terminal done, or if
it yields more than DEFAULT_RECORD_ITEM_LIMIT packets (a guard against a
live or unbounded source that never reaches done).