Function try_borrow_mut_with

Source
pub fn try_borrow_mut_with<F: FnOnce(&mut Option<Box<dyn Write>>) -> R, R>(
    f: F,
) -> R