Function pyo3_asyncio::tokio::init_with_runtime
source · pub fn init_with_runtime(runtime: &'static Runtime) -> Result<(), ()>
Expand description
Initialize the Tokio runtime with a custom Tokio runtime
Returns Ok(()) if success and Err(()) if it had been inited.