pub fn with_runtime<R>(
f: impl FnOnce(&mut Runtime) -> R,
) -> Result<R, RuntimeError>Expand description
Access the global runtime under the process mutex.
pub fn with_runtime<R>(
f: impl FnOnce(&mut Runtime) -> R,
) -> Result<R, RuntimeError>Access the global runtime under the process mutex.