Skip to main content

with_new_default_stream

Function with_new_default_stream 

Source
pub fn with_new_default_stream<F, T>(default_stream: Stream, f: F) -> T
where 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.