Function std::io::stdio::set_output_capture

source ·
pub fn set_output_capture(
    sink: Option<Arc<Mutex<Vec<u8>>>>
) -> Option<Arc<Mutex<Vec<u8>>>>
🔬This is a nightly-only experimental API. (internal_output_capture)
Expand description

Sets the thread-local output capture buffer and returns the old one.