pub fn enter_runtime<F, R>(f: F) -> R where
    F: FnOnce() -> R,