pub fn with_new_default_stream<F, T>(default_stream: Stream, f: F) -> Twhere
F: FnOnce() -> T,👎Deprecated since 0.26.0:
use with_stream(&stream, f)
Expand description
Uses a given default stream for the duration of f.