Function set_output_capture

Source
#[doc(hidden)] 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.