Function try_borrow_with

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