pub fn with_new_default_stream<F, T>(default_stream: Stream, f: F) -> Twhere F: FnOnce() -> T,
Use a given default stream for the duration of the closure f.
f